在我的 package.json 中,我有一个名为 somerepo.git 的私有(private)仓库。现在我通过 maven 在 buildserver(bamboo) 上运行 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
如何解决存储库的身份验证?
最佳答案
如果可以,您应该:
npm install
” 关于git - 如何解决 npm install 中的身份验证错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44224567/