Re:Yarn's Future – v2 and beyond
by MehdiHK on Thursday January 24, 2019 @01:16PM
(#18991281)
"npm ci" deletes node_modules directory every time. Try using that when you depend on some native modules. :(
[ Parent
| on HN ]
I 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.