`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.
Invalid: lock file's acorn@5.7.4 does not satisfy acorn@8.8.2
Missing: acorn@5.7.4 from lock file
So I did npm install as recommended by npm.
This resolves the old lockfile warning emitted by npm ci:
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
I did this:
Then
npm ci
failed with this error:So I did
npm install
as recommended by npm.This resolves the
old lockfile
warning emitted bynpm ci
:💡
git show --stat