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