NPM Error on installing packages


Just upgraded to 0.115 and now get this error when installing packages:

npm ERR! TypeError: gid must be an unsigned int
npm ERR! at Object.fs.chown (fs.js:853:11)
npm ERR! at Object.chown (/Applications/
npm ERR! at /Applications/
npm ERR! at /Applications/
npm ERR! at Array.forEach (native)
npm ERR! at /Applications/
npm ERR! at Array.forEach (native)
npm ERR! at asyncMap (/Applications/
npm ERR! at /Applications/
npm ERR! at process._tickCallback (node.js:415:13)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR!

npm ERR! System Darwin 13.3.0
npm ERR! command “/Applications/” “/Applications/” “–globalconfig” “/Applications/” “–userconfig” “/Users/hyraxx/.atom/.apmrc” “install” “/Users/hyraxx/.atom/.node-gyp/.atom/.apm/fizzy/0.15.0/package.tgz” “–target=0.11.10” "–arch=x64"
npm ERR! cwd /private/var/folders/lj/k08z0whn7cjfgmpy3znbhlbh0000gn/T/apm-install-dir-114612-13408-1lodhfh
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/lj/k08z0whn7cjfgmpy3znbhlbh0000gn/T/apm-install-dir-114612-13408-1lodhfh/npm-debug.log
npm ERR! not ok code 0


Have you followed the steps in the Debugging document? Also, can you supply the following information?

  • What OS and version are you on?
  • Is this from the Settings View? Or the command line?
  • If at the command line, what is the exact command you executed?



Yes to the debug doc and still shows in safemode, error occurs in the settings view and running Mac OS 10.9.4


Short term fix was to delete .node-gyp folder and it back working