npm troubleshoot

イシュー

  • npm でエラー

npm ERR! Cannot read property '_updated' of undefined

参考

in shell run:
vim `which npm`
.. or whatever your favorite editor is...

change:
#!/usr/bin/env node

to:
#!/usr/bin/env node --max-old-space-size=2048