node-sass/node-gpy Could not loa

2017-07-03  本文已影响0人  程序猿人王小贱
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua
l Studio 2005 or 3) add the location of the component to the system path if it
is installed elsewhere. [C:\try1\node_modules\socket.io\node_modules\engine.io
\node_modules\ws\node_modules\utf-8-validate\build\binding.sln]
gyp ERR! build error

解决办法:

// as admin
# npm install --global --production windows-build-tools

# reboot
上一篇下一篇

猜你喜欢

热点阅读