node-sass/node-gpy Could not load the Visual C++ component "VCBuild.exe"

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

解决办法:

  • python版本需要ptyhon2
  • .NET Framework 2.0 SDK
// as admin
# npm install --global --production windows-build-tools

# reboot

你可能感兴趣的:(node-sass/node-gpy Could not load the Visual C++ component "VCBuild.exe")