[BUG] package-lock custom resolved url #3533
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
Is there an existing issue for this?
Current Behavior
package-lock.json
uses private verdaccio endpoint for theresolved
field as opposed to the NPM registry.One work around for this is to do a find all and replace in the
package-lock.json
whenever you runnpm i
. But that is a real hassle.Expected Behavior
There to be an option to not use the private verdaccio endpoint for the
resolved
field so when other users runnpm i
they don't run into errors.Steps To Reproduce
.npmjs
toregistry=http://thisismyprivateverdaccioendpoint.com/
npm init
)npm i --save express
(or any package)package-lock.json
will have theresolved
property set to the registry set in.npmjs
npm i
Environment
The text was updated successfully, but these errors were encountered: