不兼容 node 8.x 版本?
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- cpp, node.js
- 领域
- build-system
调研方向
Start by reproducing the reported tnpm i failure with Node v8.11.1 and node-gyp rebuild. Inspect src/main.cc at the failing cmemory include and verify the native module builds successfully without that compiler error; the issue does not identify a test or a more specific compatibility target.
由索引模型根据 Issue 内容生成。
描述
~/dev/github/node-bsdiff(master ✔) tnpm i
✔ Installed 0 packages
✔ Linked 0 latest versions
CXX(target) Release/obj.target/bsdiff/src/main.o
../src/main.cc:8:10: fatal error: 'cmemory' file not found
#include <cmemory>
^~~~~~~~~
1 error generated.
make: *** [Release/obj.target/bsdiff/src/main.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/tnpm/node_modules/_node-gyp@3.6.2@node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/tnpm/node_modules/_npminstall@3.5.0@npminstall/node-gyp-bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/dickeylth/dev/github/node-bsdiff
gyp ERR! node -v v8.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
✖ Install fail! Error: post install error, please remove node_modules before retry!
Run "sh -c node-gyp rebuild" error, exit code 1
Error: post install error, please remove node_modules before retry!
Run "sh -c node-gyp rebuild" error, exit code 1
at ChildProcess.proc.on.code (/usr/local/lib/node_modules/tnpm/node_modules/_runscript@1.3.0@runscript/index.js:74:21)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
npminstall version: 3.5.0
npminstall args: /usr/local/bin/node /usr/local/lib/node_modules/tnpm/node_modules/_npminstall@3.5.0@npminstall/bin/install.js --tmp=/Users/dickeylth/.tnpm_tmp --no-proxy --disturl=https://tnpm-hz.oss-cn-hangzhou.aliyuncs.com/dist/node --userconfig=/Users/dickeylth/.tnpmrc --registry=http://registry.npm.alibaba-inc.com --china --prefix=/usr/local --forbidden-licenses=AGPL,CPAL,OSL --fix-bug-versions
[tnpm] subprocess:/usr/local/lib/node_modules/tnpm/node_modules/_npminstall@3.5.0@npminstall/bin/install.js exit code: 1, signal: null
[tnpm] mainprocess exit code: 1
- 主要语言
- C
- 星标
- 9
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
reactnativecn/node-bsdiff 的其他 Issue
-
Support patch? 未关闭
难度 5/5 一周以上 新手友好度 15/100
-
代码输出的patch文件无法合并 未关闭
难度 4/5 3-5 天 新手友好度 25/100
reactnativecn/node-bsdiff#7 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 20/100
-
难度 3/5 1-2 天 新手友好度 25/100
reactnativecn/node-bsdiff#3 · 2 条评论 ·
查看 reactnativecn/node-bsdiff 的全部 Issue
相似的 Issue
-
docs
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 72/100
libsdl-org/SDL#16360 ·
-
难度 2/5 1-3 小时 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 88/100
zephyrproject-rtos/zephyr#119726 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
api7/lua-resty-saml#63 ·