1. 程式人生 > >npm install error: MSBUILD : error MSB3428: 未能加載 Visual C++ 組件“VCBuild.exe”

npm install error: MSBUILD : error MSB3428: 未能加載 Visual C++ 組件“VCBuild.exe”

compile ++ windows ssa 分享 iss com bin ges

技術分享When I tried to run angular 4 material2 demo on my windows server 2012, got a error message:

node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v48 ABI) (falling back to source compile with node-gyp)

MSBUILD : error MSB3428: 未能加載 Visual C++ 組件“VCBuild.exe”

To solve this issue, you can run bellow script as admin:

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

npm install error: MSBUILD : error MSB3428: 未能加載 Visual C++ 組件“VCBuild.exe”