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 :错误MSB3411:无法加载Visual C ++组件 “ VCBuild.exe”。如果未安装组件,请1)安装 Windows Server 2008和.NET Framework的Microsoft Windows SD K 3.5或2)安装Microsoft Visual Studio 2008。
gyp错误!生成错误gyp ERR!堆栈错误:
msbuild
失败,退出 代码:1个gyp错误!堆栈在ChildProcess.onExit (C:\ Users \ void \ AppData \ Roaming \ npm \ node_modules \ npm \ node_modules \ node-gyp \ lib \ build.js:262:23) 糟糕!堆叠在generateTwo(events.js:126:13)gyp ERR!堆叠在 ChildProcess.emit(events.js:214:7)gyp ERR!堆叠在 Process.ChildProcess._handle.onexit(内部/child_process.js:198:12) 糟糕!系统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” “重建”石膏错误!电脑 C:\ Users \ void \ AppData \ Roaming \ npm \ node_modules \ blockchain-wallet-service \ node_modules \ utf-8-validate 糟糕!节点-v v8.11.4 gyp ERR!节点gyp -v v3.7.0 gyp错误!不好 npm警告可选的跳过选择性依赖:bufferutil@1.2.1 (node_modules \ blockchain-wallet-service \ node_modules \ bufferutil):npm 警告可选的跳过可选依赖项:bufferutil@1.2.1安装:node-gyp rebuild
npm警告可选的跳过选择性依赖性: 退出状态1 npm警告可选跳过功能: utf-8-validate@1.2.2 (node_modules \ blockchain-wallet-service \ node_modules \ utf-8-validate): npm警告可选的跳过选择性依赖:utf-8-validate@1.2.2 安装:node-gyp rebuild
npm警告可选的跳过选项 DEPENDENCY:退出状态1