win7 64位下安装nodejs 的jquery@1.6.3时无法安装依赖包jsdom的解决办法
来源:互联网 发布:淘宝新店铺 购买 编辑:程序博客网 时间:2024/06/05 15:49
jsdom又依赖于contextify,而contextify又需要gyp来重新编译,安装过程中老是报错,如下:
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:980:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:771:34)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "D:\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\nodejs\node_modules\contextify
gyp ERR! node -v v0.10.22
gyp ERR! node-gyp -v v0.11.0
gyp ERR! not ok
npm ERR! contextify@0.1.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the contextify@0.1.7 install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\\nodejs\\\\node.exe" "D:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "contextify"
npm ERR! cwd D:\nodejs
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! D:\nodejs\npm-debug.log
npm ERR! not ok code 0
所以我就放弃这种安装方式了,直接找了一个win64下的二进制包:
https://github.com/youxiachai/nodeWinBinary
拷贝到node_modules下,再安装jquery@1.6.3时就对了。
- win7 64位下安装nodejs 的jquery@1.6.3时无法安装依赖包jsdom的解决办法
- Win7 64位下安装MATLAB7.0后,无法正常运行的解决办法
- Scrapy在win7 32位的安装及依赖包
- nodejs之jsdom安装
- nodejs jsdom模块安装
- 关于nodejs依赖jsdom的依赖contextify的编译问题
- 11 在64位的ubuntu下安装32位依赖包
- PLSQL Developer连接不上Win7 64位系统下安装的Oracle11g64位的解决办法
- PLSQL Developer连接不上Win7 64位系统下安装的Oracle11g64位的解决办法
- PLSQL Developer连接不上Win7 64位系统下安装的Oracle11g64位的解决办法
- PLSQL Developer连接不上Win7 64位系统下安装的Oracle11g64位的解决办法
- PLSQL连不上Win7 64位系统下安装的Oracle11g64位服务实例的解决办法
- PLSQL Developer连接不上Win7 64位系统下安装的Oracle11g64位的解决办法
- VirtualBox的扩展包安装在win7专业版64位上出错的解决办法
- WIN7 64位系统 CDC类 虚拟串口驱动无法安装的解决办法
- win7下cygwin+nodeJs的安装
- PLSQL Developer连接不上Win7 64为系统下安装的Oracle11g64位的解决办法
- PLSQL Developer连接不上Win7 64为系统下安装的Oracle11g64位的解决办法
- 各种网络头衔的说明
- 指针的大小到底是由谁决定?是多少?
- RMQ sparse-table
- OCX做带数字签名的CAB文件
- SYN攻击原理
- win7 64位下安装nodejs 的jquery@1.6.3时无法安装依赖包jsdom的解决办法
- linux常用命令全拼
- Windows下Python添加库(模块)路径
- 'telnet' is not recognized as an internal or external command 解决办法
- 应届毕业生的户口,档案到底有多大的用处
- Android逆向分析(反编译)工具ded的使用
- substring的用法归纳
- App的开发成本是多少?
- [FSM]状态机实践入门——程咬金只要三斧头厉害