{"action":"opened","issue":{"url":"https://api.github.com/repos/kelektiv/node.bcrypt.js/issues/659","repository_url":"https://api.github.com/repos/kelektiv/node.bcrypt.js","labels_url":"https://api.github.com/repos/kelektiv/node.bcrypt.js/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/kelektiv/node.bcrypt.js/issues/659/comments","events_url":"https://api.github.com/repos/kelektiv/node.bcrypt.js/issues/659/events","html_url":"https://github.com/kelektiv/node.bcrypt.js/issues/659","id":366533591,"node_id":"MDU6SXNzdWUzNjY1MzM1OTE=","number":659,"title":"Node-gyp ","user":{"login":"KarimMohamed2005","id":37942217,"node_id":"MDQ6VXNlcjM3OTQyMjE3","avatar_url":"https://avatars0.githubusercontent.com/u/37942217?v=4","gravatar_id":"","url":"https://api.github.com/users/KarimMohamed2005","html_url":"https://github.com/KarimMohamed2005","followers_url":"https://api.github.com/users/KarimMohamed2005/followers","following_url":"https://api.github.com/users/KarimMohamed2005/following{/other_user}","gists_url":"https://api.github.com/users/KarimMohamed2005/gists{/gist_id}","starred_url":"https://api.github.com/users/KarimMohamed2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KarimMohamed2005/subscriptions","organizations_url":"https://api.github.com/users/KarimMohamed2005/orgs","repos_url":"https://api.github.com/users/KarimMohamed2005/repos","events_url":"https://api.github.com/users/KarimMohamed2005/events{/privacy}","received_events_url":"https://api.github.com/users/KarimMohamed2005/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T21:18:49Z","updated_at":"2018-10-03T21:18:49Z","closed_at":null,"author_association":"NONE","body":"Anyone can solve this ?\r\n\r\n> bcrypt@3.0.1 install /home/karim/node/jwt_db/node_modules/bcrypt\r\n> node-pre-gyp install --fallback-to-build\r\n\r\nnode-pre-gyp WARN Using request for node-pre-gyp https download \r\n\r\n/home/karim/node/jwt_db/node_modules/bcrypt/node_modules/tar/lib/create.js:4\r\nconst hlo = require('./high-level-opt.js')\r\n^^^^^\r\nnode-pre-gyp ERR! UNCAUGHT EXCEPTION \r\nnode-pre-gyp ERR! stack SyntaxError: Use of const in strict mode.\r\nnode-pre-gyp ERR! stack     at Module._compile (module.js:439:25)\r\nnode-pre-gyp ERR! stack     at Object.Module._extensions..js (module.js:474:10)\r\nnode-pre-gyp ERR! stack     at Module.load (module.js:356:32)\r\nnode-pre-gyp ERR! stack     at Function.Module._load (module.js:312:12)\r\nnode-pre-gyp ERR! stack     at Module.require (module.js:364:17)\r\nnode-pre-gyp ERR! stack     at require (module.js:380:17)\r\nnode-pre-gyp ERR! stack     at Object.<anonymous> (/home/karim/node/jwt_db/node_modules/bcrypt/node_modules/tar/index.js:4:30)\r\nnode-pre-gyp ERR! stack     at Module._compile (module.js:456:26)\r\nnode-pre-gyp ERR! stack     at Object.Module._extensions..js (module.js:474:10)\r\nnode-pre-gyp ERR! stack     at Module.load (module.js:356:32)\r\nnode-pre-gyp ERR! System Linux 4.15.0-34-generic\r\nnode-pre-gyp ERR! command \"node\" \"/home/karim/node/jwt_db/node_modules/bcrypt/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\nnode-pre-gyp ERR! cwd /home/karim/node/jwt_db/node_modules/bcrypt\r\nnode-pre-gyp ERR! node -v v0.11.0\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.11.0\r\nnode-pre-gyp ERR! This is a bug in `node-pre-gyp`.\r\nnode-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:\r\nnode-pre-gyp ERR!     <https://github.com/mapbox/node-pre-gyp/issues>\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules/chokidar/node_modules/fsevents):\r\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {\"os\":\"darwin\",\"arch\":\"any\"} (current: {\"os\":\"linux\",\"arch\":\"x64\"})\r\nnpm WARN bookshelf@0.13.3 requires a peer of knex@>=0.6.10 <0.15.0 but none was installed.\r\nnpm WARN jwt_db@1.0.0 No description\r\nnpm WARN jwt_db@1.0.0 No repository field.\r\nnpm ERR! Linux 4.15.0-34-generic\r\nnpm ERR! argv \"node\" \"/usr/local/bin/npm\" \"install\" \"--save\" \"bcrypt\"\r\nnpm ERR! node v0.11.0\r\nnpm ERR! npm  v3.10.10\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! bcrypt@3.0.1 install: `node-pre-gyp install --fallback-to-build`\r\nnpm ERR! Exit status 7\r\nnpm ERR! \r\nnpm ERR! Failed at the bcrypt@3.0.1 install script 'node-pre-gyp install --fallback-to-build'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the bcrypt package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-pre-gyp install --fallback-to-build\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs bcrypt\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls bcrypt\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/karim/node/jwt_db/npm-debug.log"}}
{"actor":{"display_login":"KarimMohamed2005"}}