【发布时间】:2015-12-01 09:59:28
【问题描述】:
我正在尝试在 Windows 7 机器上使用 npm install 安装依赖项。我收到以下错误消息:
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.
我安装了 .NET Framework 2.0 SDK,但错误仍然存在,而且确实 VCBuild.exe 没有出现在 .NET 目录结构中的任何位置。
我在这台机器上没有 Visual Studio(任何老式的),我不想为此付费。
我该如何解决这个问题?
【问题讨论】:
-
旧版本的 Visual C++ Express 可能有这个,但 VCBuild 已经死了,你应该摆脱它并使用 MSBuild。
-
@LexLi 我在我的 .NET 框架安装中也找不到 MSBuild。
标签: .net node.js visual-studio npm