npm i and npm ci issues #1781
lambert-alex
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Updating node versions can reset the npm config file. This can cause changes to the package-lock file to change upon running npm install.
Short term solution is to use npm ci which installs dependencies from the existing package-lock file.
A permanent solution is to check that your npm config is set up correctly using these commands. See npm config docs here
To reset config to default use
npm config set registry https://registry.npmjs.org/
Beta Was this translation helpful? Give feedback.
All reactions