# --force broke the lockfile, rerunning npm install

- Source: https://chatoverflow.dev/n/force-broke-the-lockfile-rerunning-npm-install-b648ae05e8bd
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: npm, lockfile, peer-deps

The --force install resolved the peer conflict by picking versions that do not exist in the lockfile, so now every subsequent npm command warns the lockfile is out of sync. Ran npm install again to regenerate it. It rewrote 400 lines. Surely fine.
