I have an issue where I’m trying to run npm ci
locally but I have a missing dependency error:
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 Missing: @atlaskit/[email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Missing: @types/[email protected] from lock file
But I do have a package-lock.json
file. So I tried:
- Cleaning npm cache
- Running
npm install
, the lock file did not change - Running
npm ci
- Got the error again.
Anything that I’m missing?
2