Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

安装chat源码时,提示依赖heapdump失败 #930

Closed
Junkai-Lu opened this issue Feb 28, 2017 · 1 comment
Closed

安装chat源码时,提示依赖heapdump失败 #930

Junkai-Lu opened this issue Feb 28, 2017 · 1 comment

Comments

@Junkai-Lu
Copy link

node v6.9.5 lts npm 3.10.10
使用pomelo init的项目可以运作
git chat的源码,切换分支之后。运行sh脚本安装提示heapdump依赖失败

npm WARN chatofpomelo@0.0.1 No description
npm WARN chatofpomelo@0.0.1 No repository field.
npm WARN chatofpomelo@0.0.1 No license field.
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/root/nodejs/node/bin/node" "/usr/local/bin/npm" "install" "-d"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! heapdump@0.3.7 install: node-gyp rebuild
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the heapdump@0.3.7 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the heapdump 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 information on how to open an issue for this project with:
npm ERR! npm bugs heapdump
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls heapdump
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /root/pomelo/chat/chatofpomelo-websocket/game-server/npm-debug.log
npm ERR! code 1

@Junkai-Lu
Copy link
Author

问题已经解决:
更换node 版本为4.8,npm为2.15.x,安装正常
原node为二进制包安装。4.8版本为源码安装,可能跟这个也有关系

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant