Visual Studio 2010 SP1 と Windows SDK 7.1 を使用しています。VS2012 と Windows キット 8 も持っています。
実行Windows SDK 7.1 Command Prompt
して実行すると、node-gyp build --msvs_version=2010
エラーが発生します:
error MSB3411: Could not load the Visual C++ component "VCBuild.exe".
If the component is not installed,
either 1) install the Microsoft Windows SDK for Windows Server 2008 and .NET Fr
amework 3.5, or 2) install Microsoft Visual Studio 2008.
VCBuild.exe を見つけようとしていますか。
vcbuild が msbuild に置き換えられていることがわかりました。
それは有効なエラーですか?
また、Windows 7 の .NET 3.5 では、コントロール パネルから有効にするだけでよいこともわかりました。hereやthisのようなスタックオーバーフローに関する他の質問を見てきました。
しかし問題は、vs2010 のシステムに vcbuild.exe が存在しないため、なぜ node-gyp がそれを検索しているのかということです。または、何か不足していますか?
このエラーを解決するにはどうすればよいですか?