使用 npm adduser,添加用户之后,没有异常消息,然后使用 npm publish 发布,却报错: 401
原来是 npm 使用 taobao 的镜像后,需要指定 --registry http://registry.npmjs.org
npm adduser --registry http://registry.npmjs.org
npm publish --registry http://registry.npmjs.org
成功发布了第一个 npm package
https://www.npmjs.com/package/ngx-slim-dropdown