Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node 在 windows 下的坑 #1

Open
spemoon opened this issue Apr 4, 2018 · 0 comments
Open

node 在 windows 下的坑 #1

spemoon opened this issue Apr 4, 2018 · 0 comments

Comments

@spemoon
Copy link
Owner

spemoon commented Apr 4, 2018

问题描述

node 在 Windows 下安装某些包的时候会报如下错误:

MSBUILD : error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。要解决此问题,1) 安装 .NET Framework 2.0 SDK
;2) 安装 Microsoft
Visual Studio 2005;或 3) 如果将该组件安装到了其他位置,请将其位置添加到系统路径中。

解决方案

以管理员身份运行:
npm install --global --production windows-build-tools

参考 Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant