{"action":"opened","issue":{"url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/406","repository_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js","labels_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/406/comments","events_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/406/events","html_url":"https://github.com/ncb000gt/node.bcrypt.js/issues/406","id":144578807,"number":406,"title":"Build error in production","user":{"login":"kikar","id":5789374,"avatar_url":"https://avatars.githubusercontent.com/u/5789374?v=3","gravatar_id":"","url":"https://api.github.com/users/kikar","html_url":"https://github.com/kikar","followers_url":"https://api.github.com/users/kikar/followers","following_url":"https://api.github.com/users/kikar/following{/other_user}","gists_url":"https://api.github.com/users/kikar/gists{/gist_id}","starred_url":"https://api.github.com/users/kikar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kikar/subscriptions","organizations_url":"https://api.github.com/users/kikar/orgs","repos_url":"https://api.github.com/users/kikar/repos","events_url":"https://api.github.com/users/kikar/events{/privacy}","received_events_url":"https://api.github.com/users/kikar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-30T12:49:37Z","updated_at":"2016-03-30T12:49:37Z","closed_at":null,"body":"When doing `npm install` I run into this warning:\r\n```\r\ngyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\r\ngyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\r\n download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\r\n  CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o\r\n  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o\r\n  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o\r\n  SOLINK_MODULE(target) Release/bcrypt_lib.node\r\n```\r\n\r\nThen I tried to deploy to AWS, and I got a failure with this npm-log:\r\n```\r\n434 info install bcrypt@0.8.5\r\n435 verbose unsafe-perm in lifecycle false\r\n436 info bcrypt@0.8.5 Failed to exec install script\r\n437 verbose stack Error: bcrypt@0.8.5 install: `node-gyp rebuild`\r\n437 verbose stack Exit status 1\r\n437 verbose stack     at EventEmitter.<anonymous> (/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)\r\n437 verbose stack     at emitTwo (events.js:87:13)\r\n437 verbose stack     at EventEmitter.emit (events.js:172:7)\r\n437 verbose stack     at ChildProcess.<anonymous> (/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/lib/node_modules/npm/lib/utils/spawn.js:24:14)\r\n437 verbose stack     at emitTwo (events.js:87:13)\r\n437 verbose stack     at ChildProcess.emit (events.js:172:7)\r\n437 verbose stack     at maybeClose (internal/child_process.js:821:16)\r\n437 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n438 verbose pkgid bcrypt@0.8.5\r\n439 verbose cwd /tmp/deployment/application\r\n440 error Linux 4.1.17-22.30.amzn1.x86_64\r\n441 error argv \"/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/node\" \"/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm\" \"--production\" \"rebuild\"\r\n442 error node v4.3.0\r\n443 error npm  v2.14.12\r\n444 error code ELIFECYCLE\r\n445 error bcrypt@0.8.5 install: `node-gyp rebuild`\r\n445 error Exit status 1\r\n446 error Failed at the bcrypt@0.8.5 install script 'node-gyp rebuild'.\r\n446 error This is most likely a problem with the bcrypt package,\r\n446 error not with npm itself.\r\n446 error Tell the author that this fails on your system:\r\n446 error     node-gyp rebuild\r\n446 error You can get their info via:\r\n446 error     npm owner ls bcrypt\r\n446 error There is likely additional logging output above.\r\n447 verbose exit [ 1, true ]\r\n```"}}