Node-gyp再構築エラー
Node Gyp Rebuild Error
エラーは次のとおりです
MSBUILD : error MSB3428: Failed to load Visual C++ component 'VCBuild.exe'. To resolve this issue, 1) install the .NET Framework 2.0 SDK 2) install Microsoft Visual Studio 2005 or 3) if the component is installed in a different location, add its location to the system path.
Node-gypは、Windowsに依存するクロスプラットフォームコンパイルツールのノードバージョンです。
- Python 2.7
- Visual Studio 2005〜2015
解決する
- Python 2.7をインストールし、環境変数に追加します。
- クリックしてダウンロード Visual Studio 2015、インストール、WindowsSDKの確認に注意してください
npm config set msvs_version 2015