Support incremental install from lockfile #704
Unanswered
JavaScriptBach
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As far as I know today, NPM doesn't not support doing an incremental install without touching the lockfile. The only way is to do a clean install from scratch with
npm ci
.This is going to end up being a decisive reason for us switching to another package manager like Yarn, because we have a large monorepo with workspaces sharing a single lock; as a result every developer pulling the latest main almost always has to spend 2 minutes installing all node modules from scratch before they can run code.
I've seen scattered issues and discussions over the years, with no commitment to implement this feature. Do the maintainers not think this feature is worth building? I personally don't think NPM can scale to large codebases without it.
Beta Was this translation helpful? Give feedback.
All reactions