NPM install private repository

(Fabiano Carneiro de Oliveira) #1

The code below works fine with Windows with the command mpm i.

  "dependencies": {
    "my-pack": "git+"

A credential form standard of windows is open, and the login and password is passed.

But on Linux an authetication error is returned.

npm install
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t
npm ERR!
npm ERR! remote: HTTP Basic: Access denied
npm ERR! fatal: Authentication failed for ''
npm ERR!
npm ERR! exited with error code: 128

(system) closed #2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.