Skip to content

Tag Archives: npm

Conflicting package-lock.json in Git?


Include package-lock.json in your git repository, but try to commit it alone (to avoid noise in diffs). When encountering conflicts during merge: npm install --package-lock-only As running that command then suggests, you might also want to consider automating the process by installing npm-merge-driver (npx npm-merge-driver install -g).

Install version of an NPM module: module-name@1.0.0-alpha


Installing specific version with npm by using npm install [--save-dev] module-name@1.0.0-alpha