{"action":"closed","issue":{"url":"https://api.github.com/repos/node-hid/node-hid/issues/103","labels_url":"https://api.github.com/repos/node-hid/node-hid/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/node-hid/node-hid/issues/103/comments","events_url":"https://api.github.com/repos/node-hid/node-hid/issues/103/events","html_url":"https://github.com/node-hid/node-hid/issues/103","id":99149952,"number":103,"title":"Can not install node-hid on windwos 10","user":{"login":"Nicholasny","id":11170337,"avatar_url":"https://avatars.githubusercontent.com/u/11170337?v=3","gravatar_id":"","url":"https://api.github.com/users/Nicholasny","html_url":"https://github.com/Nicholasny","followers_url":"https://api.github.com/users/Nicholasny/followers","following_url":"https://api.github.com/users/Nicholasny/following{/other_user}","gists_url":"https://api.github.com/users/Nicholasny/gists{/gist_id}","starred_url":"https://api.github.com/users/Nicholasny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nicholasny/subscriptions","organizations_url":"https://api.github.com/users/Nicholasny/orgs","repos_url":"https://api.github.com/users/Nicholasny/repos","events_url":"https://api.github.com/users/Nicholasny/events{/privacy}","received_events_url":"https://api.github.com/users/Nicholasny/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T08:22:28Z","updated_at":"2015-08-06T07:31:05Z","closed_at":"2015-08-06T07:31:05Z","body":"OS: Windows 10 Professional\r\nVS: Visual Studio Community 2015\r\n\r\nD:\\TestRecord\\hidusb>node -v\r\nv0.12.2\r\n\r\nD:\\TestRecord\\hidusb>npm config set msvs_version 2015\r\n\r\nD:\\TestRecord\\hidusb>npm install node-hid\r\n-\r\n> node-hid@0.4.0 install D:\\TestRecord\\hidusb\\node_modules\\node-hid\r\n> node-gyp rebuild\r\n\r\n\r\nD:\\TestRecord\\hidusb\\node_modules\\node-hid>if not defined npm_config_node_gyp (node \"C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )  else (rebuild)\r\nTraceback (most recent call last):\r\n  File \"C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py\", line 18, in <module>\r\n    sys.exit(gyp.script_main())\r\n  File \"C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\pylib\\gyp\\__init__.py\", line 534, in script_main\r\n    return main(sys.argv[1:])\r\n  File \"C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\pylib\\gyp\\__init__.py\", line 527, in main\r\n    return gyp_main(args)\r\n  File \"C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\pylib\\gyp\\__init__.py\", line 503, in gyp_main\r\n    options.circular_check)\r\n  File \"C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\pylib\\gyp\\__init__.py\", line 98, in Load\r\n    generator.CalculateVariables(default_variables, params)\r\n  File \"C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\pylib\\gyp\\generator\\msvs.py\", line 1867, in CalculateVariables\r\n    generator_flags.get('msvs_version', 'auto'))\r\n  File \"C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\pylib\\gyp\\MSVSVersion.py\", line 402, in SelectVisualStudioVersion\r\n    versions = _DetectVisualStudioVersions(version_map[version], 'e' in version)\r\nKeyError: '2015'\r\ngyp ERR! configure error\r\ngyp ERR! stack Error: `gyp` failed with exit code: 1\r\ngyp ERR! stack     at ChildProcess.onCpExit (C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\configure.js:343:16)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)\r\ngyp ERR! System Windows_NT 6.3.9600\r\ngyp ERR! command \"node\" \"C:\\\\Program Files (x86)\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd D:\\TestRecord\\hidusb\\node_modules\\node-hid\r\ngyp ERR! node -v v0.12.2\r\ngyp ERR! node-gyp -v v1.0.3\r\ngyp ERR! not ok\r\nnpm ERR! Windows_NT 6.3.9600\r\nnpm ERR! argv \"C:\\\\Program Files (x86)\\\\nodejs\\\\\\\\node.exe\" \"C:\\\\Program Files (x86)\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"install\" \"node-hid\"\r\nnpm ERR! node v0.12.2\r\nnpm ERR! npm  v2.7.4\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! node-hid@0.4.0 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the node-hid@0.4.0 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the node-hid 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 their info via:\r\nnpm ERR!     npm owner ls node-hid\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!     D:\\TestRecord\\hidusb\\npm-debug.log"}}