-
186 votesanswersviews
无法在Windows 7 x64 / VS2012上安装需要编译的节点模块
我无法安装任何需要编译的模块 . 所有这些都失败了,出现以下错误: MSBUILD : error MSB3411: Could not load the Visual C++ component "VCBuild.exe". ... 我的环境: Windows 7 Enterprise x64,版本6.1.7601 node x86 0.8.16 npm 1.2... -
2 votesanswersviews
在Windows 7上为phantomjs安装“弱”模块时,node-gyp重建失败
我正在尝试在Windows 7(64位)计算机上安装phantomjs-node模块 . 安装“弱”模块时似乎存在node-gyp重建错误 . 我跟着node-gyp windows installation steps并确保我安装了python并正确设置了它的路径 . 我还有visual-gyp所需的visual c和其他要求 . 遗憾的是,我无法修复node-gyp重建错误 . 我安装了以下内... -
2 votesanswersviews
在Windows 8上安装node-gyp和Opencv
我正在尝试安装OpenCV并在Windows 8上使用它,所以我遵循以下步骤: Installing Python for Windows Python是构建模块所必需的 . 转到http://www.python.org/getit/并下载最新版本,当前"Python 2.7.3 Windows Installer"(Windows二进制文件 - 不包括源代码),安装它 . ... -
18 votesanswersviews
npm安装错误:“无法找到v120的构建工具(Platform Toolset = 'v120')”
运行需要进行node-gyp重建的 npm install 时,会抛出以下构建错误: MSB8020:找不到v120(Platform Toolset ='v120')的构建工具 . 要使用v120构建工具进行构建,请安装v120构建工具 . 或者,您可以通过选择“项目”菜单或右键单击解决方案,然后选择“重新定位解决方案”来升级到当前的Visual Studio工具 . 系统信息 Wind... -
4 votesanswersviews
让Node-gyp在Windows 10上运行
我只是在学习windows上的nodejs . 似乎node-gyp包的设置非常痛苦 . 我在网上尝试了很多指南,但我觉得我在玩一个猜谜游戏 . Windows版本非常新鲜,只有一周左右的时间 . 官方页面(https://github.com/nodejs/node-gyp)说: (试图采取最简单的路径) npm install -g node-gyp npm install --globa... -
11 votesanswersviews
使用node-gyp进行NPM安装失败
我们在项目上运行 "npm install" 时遇到问题 . 无法找到某个文件: fatal error C1083: Cannot open include file: 'windows.h' 它似乎来自 node-gyp 模块: c:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-g... -
0 votesanswersviews
node-serialport不适用于Electron
我的任务是构建一个HTML5桌面应用程序,它与串口一起使用,因为我在COM端口的另一端有一个arduino . 我同时安装了 electron-prebuilt 和 serialport 包(我在 package.json 中指定了它们) . 在我的主网页中,我包含 main.js ,并且我试图要求 serialport 包,但是我收到以下错误: 未捕获错误:找不到模块'D:\ Projects... -
4 votesanswersviews
node-gyp配置构建错误
我正在尝试编译第三方代码以添加到节点 . 我有节点:0.10.12,node-gyp:0.10.6;我安装了二进制版本的节点而不是编译 . 运行“node-gyp configure build”时出现超时错误,因为我在防火墙后面并使用代理服务器: node-gyp configure build gyp info it worked if it ends with ok gyp inf... -
1 votesanswersviews
节点GYP . MSBuild.exe`失败,退出代码为:1
我试图安装sharp模块,这需要:c编译器 - 我下载了Visual Studio 2017和visual c build tools node-gyp - 它安装成功 但运行'npm install -g sharp'我遇到了很多错误 gyp ERR!堆栈错误: E:\VS\MSBuild\15.0\Bin\MSBuild.exe 失败,退出代码:1 gyp ERR!在ChildPro... -
2 votesanswersviews
我无法安装node-libcurl模块
我想在Ubuntu上安装node-libcurl模块 . 要安装,我使用以下命令: npm install node-libcurl --save 但我面临这个问题: node-pre-gyp ERR!试图下载(404):https://github.com/JCMais/node-libcurl/releases/download/v1.1.0/node_libcurl-v1.1.0-node... -
0 votesanswersviews
npm install -g blockchain-wallet-service
npm install -g blockchain-wallet-service 运行npm install时出现此错误 . 我安装了Visual Studio Community 2017,但没有安装在C:Drive中 . 我在C中安装了Microsoft Build工具:我尽可能地尝试了npm config但是这种情况再次发生 . 我该如何解决? AppData \ Roaming \ n... -
0 votesanswersviews
尝试使用npm安装hdf5软件包时出现问题
hdf5@0.3.3 install /usr/local/lib/node_modules/hdf5 node-gyp rebuild --jobs max gyp ERR!配置错误gyp ERR!堆栈错误:EACCES:权限被拒绝,mkdir'/ usr / local / lib / node_modules / hdf5 / build'gyp ERR!系统达尔文17.7.0 gyp ... -
5 votesanswersviews
堆栈“错误:证书链中的自签名证书”尝试构建时'node-gyp configure'
尝试为sql server的nodejs构建microsoft驱动程序时出现以下错误 gyp info使用node-gyp@3.2.1 gyp info使用node@5.3.0以ok gyp信息结束时是否有效win32 | x64 gyp http GET https://nodejs.org/download/release/v5.3.0/node-v5.3.0-headers.tar.gz ... -
0 votesanswersviews
在Window 10上运行npm install -g composer-cli时出错
我正在运行命令npm install -g composer-cli但面临以下错误: gyp ERR!配置错误gyp ERR!堆栈错误: gyp 失败,退出代码:1 gyp ERR!堆栈在ChildProcess.onCpExit(C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ lib \ co... -
7 votesanswersviews
找不到Python可执行文件“/path/to/executable/python2.7”,可以设置PYTHON env变量
bufferutil@1.2.1 install /home/sudthenerd/polymer-starter-kit-1.2.1/node_modules/bufferutil> node-gyp rebuild gyp ERR!配置错误gyp ERR! stack错误:找不到Python可执行文件“/path/to/executable/python2.7”,可以设置PYTHON ...