Tested on Windows 10, NPM 10.8.3
, NodeJS 20.17.0
npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm error
npm error Invalid: lock file's [email protected] does not satisfy [email protected]
npm error Missing: [email protected] from lock file
npm install
npm ci
npm install
- Delete
node_modules
npm install
npm ci
Just run npm install
twice, no need to delete node_modules
.
npm install
npm install
npm ci