node.js - 安装node-inspector时报错:“未能加载Visual C++ 组件 “VCBuild.exe”
阿神2017-04-17 11:16:56
0
2
736
安装node-inspector时报错:“未能加载Visual C++ 组件 “VCBuild.exe”。如果未安装该组件,请执行下列操作之一:
1) 安装windows SDK for windows server 2000 和.net framework 3.5
2) visual studio 2008
Solution to the failure of cnpm downloading node-sass: It may fail to download win32-x64-47_binding.node due to network problems. Go to https://github.com/sass/node-... to download the required version. After downloading, place it in a certain directory, such as mine in the root directory of drive D 1 Execute the command: set SASS_BINARY_PATH=D:win32-x64-47_binding.node 2Install node-sass: cnpm i node-sass 3After successfully installing node-sass, continue to execute cnpm i to download other dependencies
It seems to work without solving it
Solution to the failure of cnpm downloading node-sass:
It may fail to download win32-x64-47_binding.node due to network problems. Go to https://github.com/sass/node-... to download the required version.
After downloading, place it in a certain directory, such as mine in the root directory of drive D
1 Execute the command: set SASS_BINARY_PATH=D:win32-x64-47_binding.node
2Install node-sass: cnpm i node-sass
3After successfully installing node-sass, continue to execute cnpm i to download other dependencies