Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use VC2017 instead of VC2015? #1364

Closed
chen4393 opened this issue Dec 26, 2017 · 2 comments
Closed

Can I use VC2017 instead of VC2015? #1364

chen4393 opened this issue Dec 26, 2017 · 2 comments

Comments

@chen4393
Copy link

  • Node Version: node -v: v6.11.2 and npm -v: 3.10.10
  • Platform: Windows
  • Compiler: VC2017
  • Module: react-native-maps
I have VS2017 and VC++ 2017 installed, can I use VC2017 instead of VC2015?
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this,

install the .NET Framework 2.0 SDK,
install Microsoft Visual Studio 2005 or
add the location of the component to the system path if it is installed elsewhere. [C:\Users\ccr13\Documents\ReactNativeProjects\MapDemo\node_modules\weak\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\ccr13\Documents\ReactNativeProjects\MapDemo\node_modules\weak
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
@chen4393
Copy link
Author

chen4393 commented Dec 26, 2017

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this,
install the .NET Framework 2.0 SDK,
install Microsoft Visual Studio 2005 or
add the location of the component to the system path if it is installed elsewhere. [C:\Users\ccr13\Documents\ReactNativeProjects\MapDemo\node_modules\weak\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\ccr13\Documents\ReactNativeProjects\MapDemo\node_modules\weak
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

@bnoordhuis
Copy link
Member

Upgrade your copy of node-gyp to the latest. VS 2017 is supported but not in v3.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants