未经授权的npm安装操作

时间:2016-11-30 11:40:11

标签: node.js npm

我已成功登录我的私人npm存储库。但是,当我尝试从中安装软件包时,npm告诉我:"Unauthorized You must log in to perform this action.: npm"。有什么想法吗?

  1. npm --registry http://private.registry.com/npm/npm_unstable login - > "Logged in as user on http://private.registry.com/npm/npm_unstable."
  2. npm --registry http://private.registry.com/npm/npm_unstable install cest
  3. .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
    

0 个答案:

没有答案