JamieMason / shrinkpack

Fast, resilient, reproducible builds with npm install.
https://www.npmjs.com/package/shrinkpack
MIT License
793 stars 38 forks source link

Can't run shrinkpack after upgrading from npm v4.6.1 to v5.0.3 #86

Closed nbarron16 closed 7 years ago

nbarron16 commented 7 years ago

When I run 'shrinkpack' after upgrading to the lastest npm v.5.0.3:

Error: ! failed to read contents of npm cache at ChildProcess.onClose (C:\Users\Me\AppData\Roaming\npm\nodemodules\shrinkpack\src\analyse\read-npm-cache.js:40:25) at emitTwo (events.js:125:13) at ChildProcess.emit (events.js:213:7) at ChildProcess.cp.emit (C:\Users\_Me\AppData\Roaming\npm\node_modules\shrinkpack\node_modules\cross-spawn\lib\enoent.js:40:29) at maybeClose (internal/child_process.js:897:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:208:5)

JamieMason commented 7 years ago

Please follow #83 for updates 👍

b2yq commented 6 years ago

I have the same error when i am trying to call 'shrinkpack' even after update to npm 5.8.0, . I am trying to accomplish tutorial from wiki on windows and I am still getting this error.