user3415686 user3415686 - 1 month ago 17x
Node.js Question

Meteor Error: EACCES: permission denied, rmdir 'build'

I have this error when i try to update my meteor project from Meteor to METEOR 1.4. I don't know why i have this error. I have already try to do a chown to .meteor and .np floder.

=> Errors while initializing project:

While loading package npm-bcrypt@0.8.7:
error: Command failed:
rebuild --no-bin-links --update-binary
gyp ERR! clean error
gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
gyp ERR! stack at Error (native)
gyp ERR! System Linux 3.16.0-38-generic
gyp ERR! command
gyp ERR! cwd
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

npm ERR! Linux 3.16.0-38-generic
npm ERR! argv
"rebuild" "--no-bin-links" "--update-binary"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! bcrypt@0.8.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!


It was an permission error I do a sudo chown -R $USERNAME /home/noob and now all work fine