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 yaml@1.10.2 does not satisfy yaml@2.5.1
npm error Missing: yaml@1.10.2 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