Answer the question
In order to leave comments, you need to log in
How to fix npm ci ignoring registry specified in package-lock.json?
I published the npm library in the corporate registry, installed it in the project with the command npm i @my/package --registry http://corporate.npm
, it was installed as a dependency, and the corresponding entry appeared in the lock file:
"@my/package": {
"version": "6.6.6",
"resolved": "http://corporate.npm"
...
npm config set registry
, but it turns out that it: Answer the question
In order to leave comments, you need to log in
As far as I understand, it is necessary that the .npmrc file be in the project and it should contain a line like:
@my/package:registry=http://corporate.npm
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question