3 ms·
Because npm is a standard (default) package management tool that comes with node. After getting `package-lock.json` and `npm ci`, I would rather wonder why cho
by azangru 8y ago
Because npm is a standard (default) package management tool that comes with node.
After getting `package-lock.json` and `npm ci`, I would rather wonder why choose yarn instead of npm.
- MehdiHK 8y ago"npm ci" deletes node_modules directory every time. Try using that when you depend on some native modules. :(
- azangru 8y agoI thought `npm ci` is more suited for ci machines, where it's crucial that packages are pinned to specific versions. For local development, I just npm install. Perhaps with no-save option in order to avoid updating package-lock. Works fine.
- eknkc 8y agoBecause I don’t trust it. Had to do rm -rf node_modules too many times with npm.