node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

node-gyp with Windows 10 and Visual Studio 2015

Open Gabriel0402 opened this issue 11 years ago • 5 comments

When I'm installing node-gyp in windows 10 with visual studio 2015, there's an error which says that binding.gyp not found. I've installed python27 and set the path in node-gyp. I also install the windows10 sdk which is in C:\Program Files (x86)\Windows Kits\10. But the error still exists. Any help?

Gabriel0402 avatar Aug 20 '15 21:08 Gabriel0402

a very long way for widows - there are missing files

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\npm\node_modules\npm\ .... just missing .... node_modules\node-gyp\bin...

pinin avatar Aug 21 '15 01:08 pinin

hi @Gabriel0402 @pinin I think this ticket is a duplicate of https://github.com/nodejs/node-gyp/issues/679 which is where the main conversation of this problem is taking place

jasonwilliams avatar Sep 29 '15 10:09 jasonwilliams

Can we close this ticket as its a duplicate of https://github.com/nodejs/node-gyp/issues/679 If anyone has issues can you please discuss them there instead Thanks

jasonwilliams avatar Oct 12 '15 09:10 jasonwilliams

This is a different error. It's "binding.gyp".

dado3212 avatar Sep 19 '17 05:09 dado3212

dado3212 I had the same error when trying to install robotjs which rebuilds node-gyp. Got things to work only after setting the env var to 2015:

set GYP_MSVS_VERSION=2015 npm install --msvs_version=2015 npm install robotjs

thallbeck avatar Jan 02 '18 18:01 thallbeck