将包发布到nexus npm仓库需要设置一下 Nexus Repository Manager 的权限。否则无法登陆到我们的私服。在Security->Realms栏目里,将npm Bearer Token Realm 选入Active。

参考链接

* [https://juejin.im/post/5c89184f5188257ded10e165]* [https://stackoverflow.com/questions/39460074/unable-to-publish-to-an-npm-registry-local]