Currently npm ci from a fresh clone is failing because of a bad package-lock.json file.
npm ci
npm ERR! code EUSAGE
npm ERR!
npm ERR! `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 ERR!
npm ERR! Invalid: lock file's @types/yargs@15.0.14 does not satisfy @types/yargs@15.0.15
npm ERR! Invalid: lock file's @types/yargs@15.0.14 does not satisfy @types/yargs@15.0.15
npm ERR! Invalid: lock file's @types/yargs@15.0.14 does not satisfy @types/yargs@15.0.15
npm ERR! Invalid: lock file's @types/yargs@15.0.14 does not satisfy @types/yargs@15.0.15
npm ERR! Invalid: lock file's @types/yargs@15.0.14 does not satisfy @types/yargs@15.0.15
npm ERR! Invalid: lock file's @types/yargs@15.0.14 does not satisfy @types/yargs@15.0.15
npm ERR! Invalid: lock file's @types/yargs@15.0.14 does not satisfy @types/yargs@15.0.15
npm ERR! Invalid: lock file's @types/yargs@15.0.14 does not satisfy @types/yargs@15.0.15
npm ERR! Missing: readdirp@3.6.0 from lock file
npm ERR!
npm ERR! Clean install a project
npm ERR!
npm ERR! Usage:
npm ERR! npm ci
I've remade the .lock file by calling install once.
Tested with removing the node_modules folder, and being able to reinstall using npm ci now.
Currently
npm ci
from a fresh clone is failing because of a badpackage-lock.json
file.I've remade the .lock file by calling install once. Tested with removing the node_modules folder, and being able to reinstall using npm ci now.