nx release
: please update your lock file with npm install
before continuing
#26660
Open
1 of 4 tasks
Labels
Current Behavior
Every time I'm running
nx release
, I'm always getting this error next time I'm doingnpm ci
:There is a step during
nx release
that is supposed to "update npm lock" using:but it seems it doesn't work (at least in my case, with independent projects).
Solution
What worked for me, is to use
npm install
instead ofnpm install --package-lock-only
.Expected Behavior
After running
nx release
, we should be able to runnpm ci
without issue.GitHub Repo
No response
Steps to Reproduce
My use case is the following:
nx release
npm ci
package.json
andpackage-lock.json
are no more considered "in sync".Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: