4 ms·
"npm ci" deletes node_modules directory every time. Try using that when you depend on some native modules. :(
by 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.