我已成功登录我的私人npm存储库。但是,当我尝试从中安装软件包时,npm告诉我:"Unauthorized You must log in to perform this action.: npm"
。有什么想法吗?
npm --registry http://private.registry.com/npm/npm_unstable login
- > "Logged in as user on http://private.registry.com/npm/npm_unstable."
npm --registry http://private.registry.com/npm/npm_unstable install cest
.npmrc
的内容:
http://private.registry.com/npm/npm_unstable=
//private.registry.com/npm/:_password="TDVuZRndGwwMD8="
//private.registry.com/npm/:username=user
//private.registry.com/npm/:email=user@private-registry.com
//private.registry.com/npm/:always-auth=false