5

In my package.json I have private repo called somerepo.git. Now I am running an npm install on a buildserver(bamboo) through maven and getting this error:

[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

How can I resolve the authentication for the repository?

bier hier
  • 17,692
  • 38
  • 82
  • 153
  • Does this answer your question? [How to use private Github repo as npm dependency](https://stackoverflow.com/questions/28728665/how-to-use-private-github-repo-as-npm-dependency) – Sachin Apr 19 '21 at 06:58

1 Answers1

1

If you can, you should:

VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755