npm publish 报错 E401 npm ERR! Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"
使用 npm login 进行登录时 ,指定目标registry
npm login --npm login --registry=http://xxxxx/repository/npm-hosted/
注意: registry 地址最后的斜杠(/) 不能够省略
使用 npm login 进行登录时 ,指定目标registry
npm login --npm login --registry=http://xxxxx/repository/npm-hosted/
注意: registry 地址最后的斜杠(/) 不能够省略