I was able to install and update package a while ago, but suddenly I’m getting the following error when I try to install/update a package:
gyp info it worked if it ends with ok gyp info using email@example.com gyp info using firstname.lastname@example.org | darwin | x64 gyp http GET https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.11.10/node-v0.11.10.tar.gz gyp http 200 https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.11.10/node-v0.11.10.tar.gz gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: EPERM, utime '/Users/bernardog/.atom/.node-gyp/.node-gyp/0.11.10' gyp ERR! System Darwin 13.1.0 gyp ERR! command "/Applications/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper" "/Applications/Atom.app/Contents/Resources/app/node_modules/atom-package-manager/node_modules/node-gyp/bin/node-gyp.js" "install" "--target=0.11.10" "--dist-url=https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist" "--arch=x64" gyp ERR! cwd /Users/bernardog/.atom gyp ERR! node -v v0.11.10 gyp ERR! node-gyp -v v0.10.10 gyp ERR! This is a bug in `node-gyp`. gyp ERR! Try to update node-gyp and file an Issue if it does not help: gyp ERR! <https://github.com/TooTallNate/node-gyp/issues>
It seems to be a permission error, but I don’t know how to fix this.