简体   繁体   English

无法安装需要VCBuild.exe的依赖项

[英]Cannot install dependencies that requires VCBuild.exe

I am trying to install dependencies using npm install on a Windows 7 machine. 我正在尝试在Windows 7计算机上使用npm install安装依赖项。 I got the following error message: 我收到以下错误消息:

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. 

I installed .NET Framework 2.0 SDK, but the error continues, and indeed VCBuild.exe does not appear anywhere in the directory structure for .NET. 我安装了.NET Framework 2.0 SDK,但错误仍然存​​在,实际上VCBuild.exe并未出现在.NET的目录结构中。

I don't have Visual Studio (of any vintage) on this machine, and I don't want to have to pay for it. 我在这台机器上没有Visual Studio(任何年份),也不想为此付费。

How can I get around this? 我该如何解决?

Did you do all those things that error mentions? 您是否做了所有错误提及的事情? (1 and 2 / (or/and) 3) (1和2 /(或/和)3)

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. 要解决此问题,1)安装.NET Framework 2.0 SDK,2)安装Microsoft Visual Studio 2005或3)如果组件安装在其他位置,则将组件的位置添加到系统路径。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM