{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node-gyp/issues/1014","repository_url":"https://api.github.com/repos/nodejs/node-gyp","labels_url":"https://api.github.com/repos/nodejs/node-gyp/issues/1014/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node-gyp/issues/1014/comments","events_url":"https://api.github.com/repos/nodejs/node-gyp/issues/1014/events","html_url":"https://github.com/nodejs/node-gyp/issues/1014","id":173396921,"number":1014,"title":"Error installing package with node-gyp (win_delay_load_hook.c?)","user":{"login":"emum8","id":21221323,"avatar_url":"https://avatars.githubusercontent.com/u/21221323?v=3","gravatar_id":"","url":"https://api.github.com/users/emum8","html_url":"https://github.com/emum8","followers_url":"https://api.github.com/users/emum8/followers","following_url":"https://api.github.com/users/emum8/following{/other_user}","gists_url":"https://api.github.com/users/emum8/gists{/gist_id}","starred_url":"https://api.github.com/users/emum8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emum8/subscriptions","organizations_url":"https://api.github.com/users/emum8/orgs","repos_url":"https://api.github.com/users/emum8/repos","events_url":"https://api.github.com/users/emum8/events{/privacy}","received_events_url":"https://api.github.com/users/emum8/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-26T08:21:44Z","updated_at":"2016-08-26T08:58:51Z","closed_at":"2016-08-26T08:58:51Z","body":"OS: Win 7\r\nI have VS 2015 Community edition installed.\r\n\r\nNode versions:\r\nnode: v6.4.0\r\nnpm: 3.10.3\r\nnode-gyp: v3.4.0\r\n\r\nPS C:\\Windows\\system32> npm install truffle -g\r\nnpm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade\r\nnpm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.\r\nnpm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue\r\n\r\n> scrypt@6.0.3 preinstall C:\\Users\\EMU\\AppData\\Roaming\\npm\\node_modules\\.staging\\scrypt-e061de67\r\n> node node-scrypt-preinstall.js\r\n\r\nC:\\Users\\EMU\\AppData\\Roaming\\npm\\truffle -> C:\\Users\\EMU\\AppData\\Roaming\\npm\\node_modules\\truffle\\cli.js\r\nC:\\Users\\EMU\\AppData\\Roaming\\npm\\truffle-exec -> C:\\Users\\EMU\\AppData\\Roaming\\npm\\node_modules\\truffle\\exec.js\r\n\r\n> scrypt@6.0.3 install C:\\Users\\EMU\\AppData\\Roaming\\npm\\node_modules\\truffle\\node_modules\\scrypt\r\n> node-gyp rebuild\r\n\r\n\r\nC:\\Users\\EMU\\AppData\\Roaming\\npm\\node_modules\\truffle\\node_modules\\scrypt>if not defined npm_config_node_gyp (node \"C:\\P\r\nrogram Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )  else (nod\r\ne \"\" rebuild )\r\nWarning: Missing input files:\r\nC:\\Users\\EMU\\AppData\\Roaming\\npm\\node_modules\\truffle\\node_modules\\scrypt\\build\\..\\scrypt\\win\\include\\config.h\r\nBuilding the projects in this solution one at a time. To enable parallel build, please add the \"/m\" switch.\r\n  Copying scrypt/win/include/config.h to scrypt/scrypt-1.2.0/config.h\r\n  The system cannot find the file specified.\r\n  win_delay_load_hook.c\r\nC:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\src\\win_delay_load_hook.c(34): error C2373: '__pfnDliNot\r\nifyHook2': redefinition; different type modifiers [C:\\Users\\EMU\\AppData\\Roaming\\npm\\node_modules\\truffle\\node_modules\\s\r\ncrypt\\build\\copied_files.vcxproj]\r\n  E:\\apps\\Visual Studio 2015\\VC\\include\\delayimp.h(134): note: see declaration of '__pfnDliNotifyHook2'\r\n  memlimit.c\r\n  keyderivation.c\r\n  pickparams.c\r\n  hash.c\r\n  win_delay_load_hook.c\r\nC:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\src\\win_delay_load_hook.c(34): error C2373: '__pfnDliNot\r\nifyHook2': redefinition; different type modifiers [C:\\Users\\EMU\\AppData\\Roaming\\npm\\node_modules\\truffle\\node_modules\\s\r\ncrypt\\build\\scrypt_wrapper.vcxproj]\r\n  E:\\apps\\Visual Studio 2015\\VC\\include\\delayimp.h(134): note: see declaration of '__pfnDliNotifyHook2'\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\msbuild.exe` failed with exit code: 1\r\ngyp ERR! stack     at ChildProcess.onExit (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\build.js:2\r\n76:23)\r\ngyp ERR! stack     at emitTwo (events.js:106:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:191:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)\r\ngyp ERR! System Windows_NT 6.1.7601\r\ngyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node\r\n-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd C:\\Users\\EMU\\AppData\\Roaming\\npm\\node_modules\\truffle\\node_modules\\scrypt\r\ngyp ERR! node -v v6.4.0\r\ngyp ERR! node-gyp -v v3.3.1\r\ngyp ERR! not ok\r\nC:\\Users\\EMU\\AppData\\Roaming\\npm\r\n`-- (empty)\r\n\r\nnpm WARN optional Skipping failed optional dependency /truffle/chokidar/fsevents:\r\nnpm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14\r\nnpm ERR! Windows_NT 6.1.7601\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"ins\r\ntall\" \"truffle\" \"-g\"\r\nnpm ERR! node v6.4.0\r\nnpm ERR! npm  v3.10.3\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! scrypt@6.0.3 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the scrypt@6.0.3 install script 'node-gyp rebuild'.\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 scrypt package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs scrypt\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls scrypt\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!     C:\\Windows\\system32\\npm-debug.log\r\nnpm ERR! code 1\r\nPS C:\\Windows\\system32>"},"comment":{"url":"https://api.github.com/repos/nodejs/node-gyp/issues/comments/242672333","html_url":"https://github.com/nodejs/node-gyp/issues/1014#issuecomment-242672333","issue_url":"https://api.github.com/repos/nodejs/node-gyp/issues/1014","id":242672333,"user":{"login":"bnoordhuis","id":275871,"avatar_url":"https://avatars.githubusercontent.com/u/275871?v=3","gravatar_id":"","url":"https://api.github.com/users/bnoordhuis","html_url":"https://github.com/bnoordhuis","followers_url":"https://api.github.com/users/bnoordhuis/followers","following_url":"https://api.github.com/users/bnoordhuis/following{/other_user}","gists_url":"https://api.github.com/users/bnoordhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bnoordhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnoordhuis/subscriptions","organizations_url":"https://api.github.com/users/bnoordhuis/orgs","repos_url":"https://api.github.com/users/bnoordhuis/repos","events_url":"https://api.github.com/users/bnoordhuis/events{/privacy}","received_events_url":"https://api.github.com/users/bnoordhuis/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T08:58:51Z","updated_at":"2016-08-26T08:58:51Z","body":"See the other issues about `__pfnDliNotifyHook2`.  To summarize, upgrade to node-gyp v3.4.0."}}
{"actor":{"display_login":"bnoordhuis"}}