正解 非常感谢
win10 64bit + node7.8 + C++Build tools2015 安装失败
1.按照 https://github.com/nodejs/node-gyp的说明将c++编译工具升级至2015; 2.NodeJS 7.8 + win10 64位
` node "D:\Program Files\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\node-gyp-bin\node-gyp.js" rebuild 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。 MSBUILD : error MSB6006: “VCBuild.exe”已退出,代码为 -1。 [G:\test\jiebaDemo\node_modules._nodejieba.2.4\buil d\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (D:\Program Files\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\node_modules\node-gyp\lib\build.js:285:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:194:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\node-gyp-bin\node-gyp.js" "rebuild"
gyp ERR! cwd G:\test\jiebaDemo\node_modules._nodejieba.2.4
gyp ERR! node -v v7.8.0
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
`
按照 http://www.jianshu.com/p/d541c8585479 的操作降级到 Node 0.12.12, node-gyp.2.1仍然是报同样的错误。
吐槽一句:开源不易,但一个项目的issue里面满版的安装失败。作者也没在README.MD明确需要哪些依赖项,比如c++编译库版本,Node-gpy版本,nodeJS版本
该提问来源于开源项目:yanyiwu/nodejieba
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答
9条回答
为你推荐
- java和jdk已经安装,环境变量也设置了,但安装软件时仍然显示could not detect a 64-bit java runtime environment.确认软件等都是64bit的,求解决方法。
- java
- 1个回答
- 去安装-Win10上的行为不同于osx或linux
- 编程语言问答
- 互联网问答
- it技术
- IT行业问题
- 计算机技术
- 1个回答
- 如何在Win 7上安装gtk
- mingw
- gtk
- gcc
- 2个回答
- mysql8安装时依赖libsasl2.so.2()(64bit)
- mysql
- 2个回答
- Notepad ++中内置的Wordpress功能
- php
- notepad++
- wordpress
- 1个回答
- Sublime ctrl+b No Build System
- python
- 3个回答
- 学用JAVA调用C/C++,遇到 Can't load IA 32-bit .dll on a AMD 64-bit platform问题
- java
- eclipse
- jar
- 1个回答
- Python + C/C++ 嵌入式编程:Qt向Python传递数组
- c++
- python
- 2个回答
- CentOS6.3 运行yum update 时报错:Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
- linux
- 0个回答
- 我在win 7 家庭普通版 64bit 上安装glassfish-3.1.2.2-windows失败
- glassfish
- 0个回答
- BAT转换成EXE后无法运行在WIN10 64位PE环境 下面运行
- bat转换成exe
- 6个回答
- 求助,Eclipse 写C/C++程序 怎么生成32位的exe?
- 32位
- c++
- eclipse
- 2个回答
- Caffe在win764bit安装
- 人工智能
- 1个回答
- c++中的 std 什么意思
- c++
- c
- 学习编程
- 5个回答
- centos7编译snmp++ 32bit的问题
- centos
- snmp++
- 32bit
- 2个回答
- codeblock如何让c++生成64位dll文件
- c++
- 2个回答
- 用C++可以存储2bit的数据么?
- c++
- 3个回答
- JNative的问题,提示32位DLL不能再64位平台上运行
- dll
- 64bit
- java
- jnative
- 32bit
- 1个回答
- 开发32位程序和64位程序有什么区别?假设用C++开发
- c++
- 开发
- 4个回答
- 求助 小白 eclipse win7 64位
- win7
- eclipse
- 64位
- 1个回答