[BUG] Automatic authentification on private npm repository no longer works #2935
Labels
Bug
thing that needs fixing
Priority 0
will get attention right away
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
We use a private nexus repository with an
.npmrc
file on each project.Our
.npmrc
looks like (URL changed for this bug report):Since the npm v7.7.0 release we have the following error when we do an
npm install
in our projects:This configuration always worked previously (npm v6 & npm < v7.7.0)
Note: doing a
npm adduser
allow us to install our package in our dev local env.It create a $HOME/.npmrc file with what's seems to be an undocumented format.
But this is not usable when doing automatic build with Jenkins / docker, since it prompt user for information.
Expected Behavior:
npm install
works as expected.Steps To Reproduce:
Configure a private repository with basics HTTP auth, and use it with a specific
.npmrc
in the project, like explain above.Environment:
OS: Ubuntu 20.04
The text was updated successfully, but these errors were encountered: