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


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 node-zopfli@1.4.0 and node@6.11.1 (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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM