npm報錯:
MSBUILD : error MSB3428: 未能加載 Visual C++ 組件“VCBuild.exe”。要解決此問題,1) 安裝 .NET Framework 2.0 SDK;2) 安裝 Microsoft Visual Studio 2005;或 3) 如果將該組件安裝到了其他位置,請將其位置添加到系統路徑中。
直接使用這個工具即可,一次解決所有問題:
https://github.com/felixrieseberg/windows-build-tools
npm install –global –production windows-build-tools
需要注意的是需要管理員權限安裝,CMD右鍵管理員打開即可