You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
18.2.7
Description
Using command npm ci on a clean Angualr 18.2.8 project, the command fails with an error.
Minimal Reproduction
Run npm new angular182. Select SCSS and no SSR.
cd angular182
run npm ci
Exception or Error
npm error code EUSAGE
npm 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 Invalid: lock file's [email protected] does not satisfy [email protected]
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
npm error Invalid: lock file's [email protected] does not satisfy [email protected]
npm error Missing: [email protected] from lock file
npm error Missing: [email protected] from lock file
We ran into the same issue trying to upgrade our lock files with renovate.
Manual intervention with an npm install resolved it temporarily. But every time we run npm update again, it creates an invalid package-lock file.
It seems there's a certain constellation of dependencies at the moment that makes npm update fail reliably on chokidar.
Command
other
Is this a regression?
The previous version in which this bug was not present was
18.2.7
Description
Using command
npm ci
on a clean Angualr 18.2.8 project, the command fails with an error.Minimal Reproduction
npm new angular182
. Select SCSS and no SSR.cd angular182
npm ci
Exception or Error
Your Environment
Anything else relevant?
Same issue occurs after regenerating
package-lock.json
.package-lock.json
node_modules
directorynpm install
- regeneratespackage-lock.json
andnode_modules
npm ci
The text was updated successfully, but these errors were encountered: