{"action":"created","issue":{"url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/90","repository_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js","labels_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/90/comments","events_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/90/events","html_url":"https://github.com/ncb000gt/node.bcrypt.js/issues/90","id":5482289,"number":90,"title":"`npm install bcrypt` fails in install: `node-gyp rebuild`","user":{"login":"jothirams","id":1526406,"avatar_url":"https://avatars.githubusercontent.com/u/1526406?v=3","gravatar_id":"","url":"https://api.github.com/users/jothirams","html_url":"https://github.com/jothirams","followers_url":"https://api.github.com/users/jothirams/followers","following_url":"https://api.github.com/users/jothirams/following{/other_user}","gists_url":"https://api.github.com/users/jothirams/gists{/gist_id}","starred_url":"https://api.github.com/users/jothirams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jothirams/subscriptions","organizations_url":"https://api.github.com/users/jothirams/orgs","repos_url":"https://api.github.com/users/jothirams/repos","events_url":"https://api.github.com/users/jothirams/events{/privacy}","received_events_url":"https://api.github.com/users/jothirams/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":45,"created_at":"2012-07-07T19:01:32Z","updated_at":"2016-05-16T09:20:10Z","closed_at":"2012-07-19T11:05:24Z","body":"Hello,\n\nI'm trying to install bcrypt on my debian machine and it fails with the below error. Can you please let me know what am I missing.\n\nThanks\nJothiram.\n\nroot@debian:/home/node# npm install -g bcrypt\nnpm http GET https://registry.npmjs.org/bcrypt\nnpm http 304 https://registry.npmjs.org/bcrypt\nnpm http GET https://registry.npmjs.org/bindings/1.0.0\nnpm http 304 https://registry.npmjs.org/bindings/1.0.0\n\n> bcrypt@0.7.0 install /usr/local/lib/node_modules/bcrypt\n> node-gyp rebuild\n\ninfo it worked if it ends with ok \nERR! Error: EACCES, stat '/root/.node-gyp/0.6.18'\nERR! not ok\n\nnpm ERR! bcrypt@0.7.0 install: `node-gyp rebuild`\nnpm ERR! `sh \"-c\" \"node-gyp rebuild\"` failed with 1\nnpm ERR! \nnpm ERR! Failed at the bcrypt@0.7.0 install script.\nnpm ERR! This is most likely a problem with the bcrypt package,\nnpm ERR! not with npm itself.\nnpm ERR! Tell the author that this fails on your system:\nnpm ERR!     node-gyp rebuild\nnpm ERR! You can get their info via:\nnpm ERR!     npm owner ls bcrypt\nnpm ERR! There is likely additional logging output above.\nnpm ERR! \nnpm ERR! System Linux 2.6.32-5-686\nnpm ERR! command \"node\" \"/usr/local/bin/npm\" \"install\" \"-g\" \"bcrypt\"\nnpm ERR! cwd /home/node\nnpm ERR! node -v v0.6.18\nnpm ERR! npm -v 1.1.21\nnpm ERR! code ELIFECYCLE\nnpm ERR! message bcrypt@0.7.0 install: `node-gyp rebuild`\nnpm ERR! message `sh \"-c\" \"node-gyp rebuild\"` failed with 1\nnpm ERR! errno {}\nnpm ERR! \nnpm ERR! Additional logging details can be found in:\nnpm ERR!     /home/node/npm-debug.log\nnpm not ok\n"},"comment":{"url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/comments/219383743","html_url":"https://github.com/ncb000gt/node.bcrypt.js/issues/90#issuecomment-219383743","issue_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/90","id":219383743,"user":{"login":"detailyang","id":3370345,"avatar_url":"https://avatars.githubusercontent.com/u/3370345?v=3","gravatar_id":"","url":"https://api.github.com/users/detailyang","html_url":"https://github.com/detailyang","followers_url":"https://api.github.com/users/detailyang/followers","following_url":"https://api.github.com/users/detailyang/following{/other_user}","gists_url":"https://api.github.com/users/detailyang/gists{/gist_id}","starred_url":"https://api.github.com/users/detailyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/detailyang/subscriptions","organizations_url":"https://api.github.com/users/detailyang/orgs","repos_url":"https://api.github.com/users/detailyang/repos","events_url":"https://api.github.com/users/detailyang/events{/privacy}","received_events_url":"https://api.github.com/users/detailyang/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T09:20:10Z","updated_at":"2016-05-16T09:20:10Z","body":"yes it's happened to me:(\r\n````bash\r\nLinux version 2.6.32-573.26.1.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Wed May 4 00:57:44 UTC 2016\r\n````"}}