npm install -g blockchain-wallet-service

运行npm install时出现此错误 .

我安装了Visual Studio Community 2017,但没有安装在C:Drive中 . 我在C中安装了Microsoft Build工具:我尽可能地尝试了npm config但是这种情况再次发生 . 我该如何解决?

AppData \ Roaming \ npm \ node_modules \ blockchain-wallet-service \ node_modules \ utf-8-validate \ build \ binding.sln:error MSB3411:无法加载Visual C组件“VCBuild.exe” . 如果未安装该组件,则1)安装适用于Windows Server 2008和.NET Framework 3.5的Microsoft Windows SD K,或2)安装Microsoft Visual Studio 2008. gyp ERR!构建错误gyp ERR!堆栈错误:msbuild失败,退出代码:1 gyp ERR!堆栈在ChildProcess.onExit(C:\ Users \ void \ AppData \ Roaming \ npm \ node_modules \ npm \ node_modules \ node-gyp \ lib \ build.js:262:23)gyp ERR!堆栈在emitTwo(events.js:126:13)gyp ERR!在ChildProcess.emit堆栈(events.js:214:7)gyp ERR! Process.ChildProcess._handle.onexit(internal / child_process.js:198:12)gyp ERR!系统Windows_NT 10.0.17134 gyp ERR!命令“C:\ Program Files \ nodejs \ node.exe”“C:\ Users \ void \ AppData \ Roaming \ npm \ node_modules \ npm \ node_modules \ node-gyp \ bin \ node-gyp.js”“rebuild”gyp呃! cwd C:\ Users \ void \ AppData \ Roaming \ npm \ node_modules \ blockchain-wallet-service \ node_modules \ utf-8-validate gyp ERR! node -v v8.11.4 gyp ERR! node-gyp -v v3.7.0 gyp ERR!不行npm WARN可选SKIPPING OPTIONAL DEPENDENCY:bufferutil@1.2.1(node_modules \ blockchain-wallet-service \ node_modules \ bufferutil):npm WARN可选SKIPPING OPTIONAL DEPENDENCY:bufferutil@1.2.1 install:node-gyp rebuild npm WARN可选SKIPPING可选依赖性:退出状态1 npm WARN可选跳过选项依赖性:utf-8-validate@1.2.2(node_modules \ blockchain-wallet-service \ node_modules \ utf-8-validate):npm WARN可选跳过选项依赖性:utf-8 -validate@1.2.2 install:node-gyp rebuild npm WARN可选SKIPPING OPTIONAL DEPENDENCY:退出状态1