npm http 304 https://registry.npmjs.org/wordwrap
FATAL ERROR: JS Allocation failed - process out of memory
zsh: abort npm install
superscript-websocket-demo> l
total 32
0 drwxr-xr-x 13 dc staff 442B Jan 27 07:43 ./
0 drwxr-xr-x 66 dc staff 2.2K Jan 27 07:43 ../
the first
npm install
choked out onnpm http 304 https://registry.npmjs.org/wordwrap FATAL ERROR: JS Allocation failed - process out of memory zsh: abort npm install superscript-websocket-demo> l total 32 0 drwxr-xr-x 13 dc staff 442B Jan 27 07:43 ./ 0 drwxr-xr-x 66 dc staff 2.2K Jan 27 07:43 ../
I tried
npm cache clean
without success.http://stackoverflow.com/questions/20764881/why-does-npm-install-say-i-have-unmet-dependencies
Or structure your package.json such that any top-level modules that are also dependencies of other modules are listed lower down.
$ npm install superscript@0.5.1
fixed the issue.