2017-05-28 25 views
0

在我的package.json中,我有一个名为somerepo.git的私人回购。现在我运行的NPM通过行家在buildserver(竹)安装并收到此错误:如何在npm install中解决认证错误?

[ERROR] npm ERR! Command failed: git clone --template=/var/home/ci/.npm/_git-remotes/_templates --mirror https://somerepo.git 
[ERROR] npm ERR! fatal: Authentication failed for https://somerepo.git 

我怎样才能解决存储库的认证?

回答