Closed nbarron16 closed 7 years ago
Please follow #83 for updates 👍
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.
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)