fix: remove stale package-lock.json causing npm install failures #162
Reference in New Issue
Block a user
Delete Branch "fix/remove-stale-package-lock"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
package-lock.jsonfrom repo (project usespnpm@10.32.1aspackageManager)package-lock.jsonto.gitignorepnpm installandpnpm run buildsucceedRoot cause
The project declares
"packageManager": "pnpm@10.32.1"inpackage.jsonbut had a committedpackage-lock.json. Runningnpm installproduced a brokennode_moduleslayout where binaries likeheadlamp-pluginwere not found.Test plan
pnpm installcompletes without errorpnpm run buildsucceeds🤖 Generated with Claude Code
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
QA approved (Pipeline B — build config fix).
Verified:
.gitignore(+1 line) andpackage-lock.json(deleted). No unintended changes.ci/cicheck: PASStsc --noEmitclean.pnpm@10.32.1as declared inpackage.json; stalepackage-lock.jsonwas causingnpm installfailures..gitignoreentry prevents recurrence.No regressions detected. Merging to
main.