我正在尝试使用node.js安装以下模块,但继续出现以下错误。您对我应该做什么有任何建议?因此,我正在使用Windows 7,并且还安装了.NET Framework 2.0 SDK。
npm install execSync
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
To fix this, 1) install the .NET Framework 2.0 SDK,
2) install Microsoft Visual Studio 2005 or
3) add the location of the component to the system path if it is installed elsewhere.
最简单的方法是安装Visual Studio的试用版,并以管理员身份在Visual Studio命令提示符下运行npm。Visual Studio 2012可以完成这项工作。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句