Giter Site home page Giter Site logo

Comments (16)

piaohai avatar piaohai commented on August 27, 2024

出什么错,能把错误信息发出来 看一下吗

from pomelo.

scyehan avatar scyehan commented on August 27, 2024

Windows 64的如下:
npm http GET https://registry.npmjs.org/async/0.1.15
profile.cc
..\snapshot.cc(90): warning C4244: “参数”: 从“uint64_t”转换到“v8::SnapshotO
bjectId”,可
能丢失数据 [C:\Users\Kaede\AppData\Roaming\npm\node_modules\pomelo\node_modules
pome
lo-admin\node_modules\v8-profiler\build\profiler.vcxproj]
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/async/0.1.15
正在创建库 C:\Users\Kaede\AppData\Roaming\npm\node_modules\pomelo\node_modu
les
pomelo-admin\node_modules\v8-profiler\build\Release\profiler.lib 和对象 C:\Use
rs
\Kaede\AppData\Roaming\npm\node_modules\pomelo\node_modules\pomelo-admin\node
_modules\v8-profiler\build\Release\profiler.exp
graph_node.obj : error LNK2001: 无法解析的外部符号 "public: class v8::HeapGraphN
ode cons
t * __cdecl v8::HeapGraphNode::GetDominatorNode(void)const " (?GetDominatorNode
@HeapGraphNode@v8@@QEBAPEBV12@XZ) [C:\Users\Kaede\AppData\Roaming\npm\node_modu
les\pomelo\node_modules\pomelo-admin\node_modules\v8-profiler\build\profiler.vc
xproj]
graph_node.obj : error LNK2001: 无法解析的外部符号 "public: class v8::HeapGraphE
dge cons
t * __cdecl v8::HeapGraphNode::GetRetainer(int)const " (?GetRetainer@HeapGraphN
ode@v8@@QEBAPEBVHeapGraphEdge@2@H@Z) [C:\Users\Kaede\AppData\Roaming\npm\node_m
odules\pomelo\node_modules\pomelo-admin\node_modules\v8-profiler\build\profiler
.vcxproj]
graph_node.obj : error LNK2001: 无法解析的外部符号 "public: int __cdecl v8::Heap
GraphNod
e::GetRetainersCount(void)const " (?GetRetainersCount@HeapGraphNode@v8@@QEBAHXZ
) [C:\Users\Kaede\AppData\Roaming\npm\node_modules\pomelo\node_modules\pomelo-a
dmin\node_modules\v8-profiler\build\profiler.vcxproj]
graph_node.obj : error LNK2001: 无法解析的外部符号 "public: int __cdecl v8::Heap
GraphNod
e::GetRetainedSize(void)const " (?GetRetainedSize@HeapGraphNode@v8@@QEBAHXZ) [C
:\Users\Kaede\AppData\Roaming\npm\node_modules\pomelo\node_modules\pomelo-admin
\node_modules\v8-profiler\build\profiler.vcxproj]
C:\Users\Kaede\AppData\Roaming\npm\node_modules\pomelo\node_modules\pomelo-admi
n\node_modules\v8-profiler\build\Release\profiler.node : fatal error LNK1120: 4
个无法解析的外部命令 [C:\Users\Kaede\AppData\Roaming\npm\node_modules\pomelo\no
de_module
s\pomelo-admin\node_modules\v8-profiler\build\profiler.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules
npm\node_modules\node-gyp\lib\build.js:236:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Kaede\AppData\Roaming\npm\node_modules\pomelo\node_modules
\pomelo-admin\node_modules\v8-profiler
gyp ERR! node -v v0.8.14
gyp ERR! node-gyp -v v0.7.1
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! cmd "/c" "node-gyp rebuild" failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the v8-profiler 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 v8-profiler
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "pomelo" "-g"
npm ERR! cwd C:
npm ERR! node -v v0.8.14
npm ERR! npm -v 1.1.65
npm ERR! code ELIFECYCLE
npm ERR! Error: EPERM, open 'C:\npm-debug.log'
npm ERR! { [Error: EPERM, open 'C:\npm-debug.log'] errno: 50, code: 'EPERM', pa
th: 'C:\npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "pomelo" "-g"
npm ERR! cwd C:
npm ERR! node -v v0.8.14
npm ERR! npm -v 1.1.65
npm ERR! path C:\npm-debug.log
npm ERR! code EPERM
npm ERR! errno 50
npm ERR! stack Error: EPERM, open 'C:\npm-debug.log'
npm http 304 https://registry.npmjs.org/tinycolor
npm http 408 https://registry.npmjs.org/commander
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/commander
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\npm-debug.log
npm ERR! not ok code 0

from pomelo.

py8765 avatar py8765 commented on August 27, 2024

windows我们暂时不支持,unbuntu应该是没有问题的,你这里只是贴出来windows下面的错误,如果unbuntu 64有什么问题你可以提出来。

from pomelo.

xiecc avatar xiecc commented on August 27, 2024

这个异常是V8-profiler编译的问题, 试一下npm install v8-profiler, 看看会不会出问题。
我们会计划在下个版本支持windows

from pomelo.

whcyc2002 avatar whcyc2002 commented on August 27, 2024

windows 目前还不支持...安装都会出问题

from pomelo.

sornon avatar sornon commented on August 27, 2024

macbook air能跑起demo服务端么?

from pomelo.

xiecc avatar xiecc commented on August 27, 2024

没问题, 我们开发都用mac

from pomelo.

sornon avatar sornon commented on August 27, 2024

@xiecc My system is mac os 10.8.2, and I was excuted with "npm install pomelo -g" but "pomelo" common not support, and pomelo install's log is no err,
my system is os x 10.8.2+xcode4.5+node0.8.14+python2.7.2

installl log for you:

npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/pomelo-sync
npm http GET https://registry.npmjs.org/seq-queue
npm http GET https://registry.npmjs.org/cliff
npm http GET https://registry.npmjs.org/crc
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/pomelo-loader
npm http GET https://registry.npmjs.org/pomelo-rpc
npm http GET https://registry.npmjs.org/pomelo-protocol
npm http GET https://registry.npmjs.org/pomelo-monitor
npm http GET https://registry.npmjs.org/pomelo-logger/0.0.2
npm http GET https://registry.npmjs.org/pomelo-admin
npm http 304 https://registry.npmjs.org/pomelo-sync
npm http 304 https://registry.npmjs.org/socket.io
npm http 304 https://registry.npmjs.org/pomelo-loader
npm http 304 https://registry.npmjs.org/pomelo-rpc
npm http 304 https://registry.npmjs.org/seq-queue
npm http 304 https://registry.npmjs.org/pomelo-monitor
npm http 304 https://registry.npmjs.org/pomelo-logger/0.0.2
npm http 304 https://registry.npmjs.org/pomelo-admin
npm WARN package.json [email protected] No README.md file found!
npm http 304 https://registry.npmjs.org/pomelo-protocol
npm http 304 https://registry.npmjs.org/crc
npm http 304 https://registry.npmjs.org/cliff
npm http GET https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/log4js
npm http GET https://registry.npmjs.org/pomelo-schedule
npm http GET https://registry.npmjs.org/v8-profiler
npm http GET https://registry.npmjs.org/socket.io-client
npm http GET https://registry.npmjs.org/socket.io-client
npm http GET https://registry.npmjs.org/stream-pkg
npm http GET https://registry.npmjs.org/socket.io-client/0.9.11
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/redis/0.7.3
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/pomelo-schedule
npm http 304 https://registry.npmjs.org/socket.io-client
npm http 304 https://registry.npmjs.org/stream-pkg
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.11
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/redis/0.7.3
npm http 304 https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/ws
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/log4js
npm http GET https://registry.npmjs.org/async/0.1.15
npm http 304 https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/async/0.1.15
npm http 304 https://registry.npmjs.org/v8-profiler
npm http 304 https://registry.npmjs.org/socket.io-client

> [email protected] install /usr/local/share/npm/lib/node_modules/pomelo/node_modules/pomelo-admin/node_modules/v8-profiler
> node-gyp rebuild

npm http GET https://registry.npmjs.org/log4js
npm http GET https://registry.npmjs.org/ws
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/zeparser/0.0.5
  CXX(target) Release/obj.target/profiler/cpu_profiler.o
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/options
  CXX(target) Release/obj.target/profiler/graph_edge.o
  CXX(target) Release/obj.target/profiler/graph_node.o
  CXX(target) Release/obj.target/profiler/heap_profiler.o
npm http 304 https://registry.npmjs.org/log4js
npm http GET https://registry.npmjs.org/async/0.1.15
  CXX(target) Release/obj.target/profiler/profile.o
  CXX(target) Release/obj.target/profiler/profile_node.o
npm http 304 https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
  CXX(target) Release/obj.target/profiler/profiler.o
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
  CXX(target) Release/obj.target/profiler/snapshot.o
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/async/0.1.15
npm http 304 https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/options
npm http GET https://registry.npmjs.org/commander
  SOLINK_MODULE(target) Release/profiler.node

> [email protected] install /usr/local/share/npm/lib/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> node install.js

[ws v0.4.23] Attempting to compile blazing fast native extensions.
  SOLINK_MODULE(target) Release/profiler.node: Finished
[ws v0.4.23] Native extension compilation successful!
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm http 304 https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/options

> [email protected] install /usr/local/share/npm/lib/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client/node_modules/ws
> node install.js


> [email protected] install /usr/local/share/npm/lib/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/node_modules/ws
> node install.js

[ws v0.4.23] Attempting to compile blazing fast native extensions.
[ws v0.4.23] Attempting to compile blazing fast native extensions.
[ws v0.4.23] Native extension compilation successful!
[ws v0.4.23] Native extension compilation successful!
/usr/local/share/npm/bin/pomelo -> /usr/local/share/npm/lib/node_modules/pomelo/bin/pomelo
[email protected] /usr/local/share/npm/lib/node_modules/pomelo
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])

What's wrong?

-bash: pomelo: command not found

from pomelo.

scyehan avatar scyehan commented on August 27, 2024

pomelo: command not
Command "npm install pomelo -g" should add sudo in front!

from pomelo.

sornon avatar sornon commented on August 27, 2024

I have done so, but still does't support pomelo command
What's wrong?

12:~ zhaozeneng$ sudo npm install pomelo -g
Password:
npm http GET https://registry.npmjs.org/pomelo
npm http 304 https://registry.npmjs.org/pomelo
npm http GET https://registry.npmjs.org/pomelo-sync
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/seq-queue
npm http GET https://registry.npmjs.org/crc
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/pomelo-loader
npm http GET https://registry.npmjs.org/cliff
npm http GET https://registry.npmjs.org/pomelo-rpc
npm http GET https://registry.npmjs.org/pomelo-protocol
npm http GET https://registry.npmjs.org/pomelo-monitor
npm http GET https://registry.npmjs.org/pomelo-admin
npm http GET https://registry.npmjs.org/pomelo-logger/0.0.2
npm http 304 https://registry.npmjs.org/crc
npm http 304 https://registry.npmjs.org/pomelo-sync
npm http 304 https://registry.npmjs.org/seq-queue
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/cliff
npm http 304 https://registry.npmjs.org/pomelo-loader
npm http 304 https://registry.npmjs.org/pomelo-rpc
npm http 304 https://registry.npmjs.org/pomelo-protocol
npm http 304 https://registry.npmjs.org/pomelo-admin
npm http 304 https://registry.npmjs.org/pomelo-monitor
npm WARN package.json [email protected] No README.md file found!
npm http 304 https://registry.npmjs.org/pomelo-logger/0.0.2
npm http 200 https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/log4js
npm http GET https://registry.npmjs.org/stream-pkg
npm http GET https://registry.npmjs.org/socket.io-client
npm http GET https://registry.npmjs.org/socket.io-client
npm http GET https://registry.npmjs.org/pomelo-schedule
npm http GET https://registry.npmjs.org/v8-profiler
npm http GET https://registry.npmjs.org/socket.io-client/0.9.11
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/redis/0.7.3
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/log4js
npm http 304 https://registry.npmjs.org/socket.io-client
npm http 304 https://registry.npmjs.org/pomelo-schedule
npm http 304 https://registry.npmjs.org/stream-pkg
npm http GET https://registry.npmjs.org/async/0.1.15
npm http 304 https://registry.npmjs.org/v8-profiler
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.11
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/redis/0.7.3
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/async/0.1.15
npm http GET https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/stack-trace
npm http GET https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/socket.io-client

> [email protected] install /usr/local/share/npm/lib/node_modules/pomelo/node_modules/pomelo-admin/node_modules/v8-profiler
> node-gyp rebuild

npm http GET https://registry.npmjs.org/log4js
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http GET https://registry.npmjs.org/ws
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
  CXX(target) Release/obj.target/profiler/cpu_profiler.o
  CXX(target) Release/obj.target/profiler/graph_edge.o
  CXX(target) Release/obj.target/profiler/graph_node.o
  CXX(target) Release/obj.target/profiler/heap_profiler.o
npm http 304 https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/pkginfo
  CXX(target) Release/obj.target/profiler/profile.o
npm http 304 https://registry.npmjs.org/log4js
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
  CXX(target) Release/obj.target/profiler/profile_node.o
npm http GET https://registry.npmjs.org/async/0.1.15
  CXX(target) Release/obj.target/profiler/profiler.o
npm http 304 https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
  CXX(target) Release/obj.target/profiler/snapshot.o
  SOLINK_MODULE(target) Release/profiler.node
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/options
npm http GET https://registry.npmjs.org/commander
  SOLINK_MODULE(target) Release/profiler.node: Finished
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/async/0.1.15
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm http 304 https://registry.npmjs.org/tinycolor

> [email protected] install /usr/local/share/npm/lib/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/node_modules/ws
> node install.js


> [email protected] install /usr/local/share/npm/lib/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> node install.js


> [email protected] install /usr/local/share/npm/lib/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client/node_modules/ws
> node install.js

[ws v0.4.23] Attempting to compile blazing fast native extensions.
[ws v0.4.23] Attempting to compile blazing fast native extensions.
[ws v0.4.23] Attempting to compile blazing fast native extensions.
[ws v0.4.23] Native extension compilation successful!
[ws v0.4.23] Native extension compilation successful!
[ws v0.4.23] Native extension compilation successful!
/usr/local/share/npm/bin/pomelo -> /usr/local/share/npm/lib/node_modules/pomelo/bin/pomelo
[email protected] /usr/local/share/npm/lib/node_modules/pomelo
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])
12:~ zhaozeneng$ pomelo
-bash: pomelo: command not found
12:~ zhaozeneng$ pomelo init .
-bash: pomelo: command not found
12:~ zhaozeneng$ sudo pomelo init /opt/node/test
sudo: pomelo: command not found

from pomelo.

changchang avatar changchang commented on August 27, 2024

@sornon 看这行
/usr/local/share/npm/bin/pomelo -> /usr/local/share/npm/lib/node_modules/pomelo/bin/pomelo
是链接到/usr/local/share/npm/bin/这个目录下了,而这个目录不在你系统的PATH里,所以找不到。
这个目录可能跟你的npm的配置有关。
我本地的npm是链接到/usr/local/bin目录下的。

from pomelo.

sornon avatar sornon commented on August 27, 2024

Bingo!!! I forgot to export NODE_PATH!!

I will try it agin and will be back soon!

tks!

from pomelo.

sornon avatar sornon commented on August 27, 2024

Issue is resolved!

I installed node&npm by brew install node, so npm default linkpath is /usr/local/share/npm/bin/

ln -s /usr/local/share/npm/lib/node_modules/pomelo/bin/pomelo /usr/local/bin/pomelo

This method can solve this problem!

from pomelo.

icecoldgame avatar icecoldgame commented on August 27, 2024

help me , wo still have this problem when i use :sudo npm install pomelo -g
so many ERR! ,why?
gyp ERR! configure error
gyp ERR! stack Error: "pre" versions of node cannot be installed, use the --nodedir flag instead
gyp ERR! stack at install (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:69:16)
gyp ERR! stack at Object.self.commands.(anonymous function) as install
gyp ERR! stack at getNodeDir (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:181:20)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:101:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:549:7)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:96:17)
gyp ERR! stack at maybeClose (child_process.js:649:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:701:5)
gyp ERR! stack at process._makeCallback (node.js:248:20)
gyp ERR! System Linux 3.5.0-17-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/pomelo/node_modules/pomelo-admin/node_modules/v8-profiler
gyp ERR! node -v v0.9.4-pre
gyp ERR! node-gyp -v v0.7.1
gyp ERR! not ok
npm ERR! error rolling back Error: Refusing to delete: /usr/local/bin/pomelo not in /usr/local/lib/node_modules/pomelo
npm ERR! error rolling back at clobberFail (/usr/local/lib/node_modules/npm/lib/utils/gently-rm.js:41:12)
npm ERR! error rolling back at next (/usr/local/lib/node_modules/npm/lib/utils/gently-rm.js:27:14)
npm ERR! error rolling back at /usr/local/lib/node_modules/npm/lib/utils/gently-rm.js:36:12
npm ERR! error rolling back at Object.oncomplete (fs.js:91:15)
npm ERR! error rolling back at process._makeCallback (node.js:248:20)
npm ERR! error rolling back [email protected] { [Error: Refusing to delete: /usr/local/bin/pomelo not in /usr/local/lib/node_modules/pomelo] code: 'EEXIST', path: '/usr/local/bin/pomelo' }
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! sh "-c" "node-gyp rebuild" failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the v8-profiler 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 v8-profiler
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pomelo" "-g"
npm ERR! cwd /home/jiazi/下载/node-v0.8.15-linux-x86/node
npm ERR! node -v v0.9.4-pre
npm ERR! npm -v 1.1.64
npm ERR! code ELIFECYCLE

from pomelo.

piaohai avatar piaohai commented on August 27, 2024

from error log, node -v v0.9.4 is used. our team develop above 0.8 version not 0.9.
because 0.9 is unstable version, so please degrade node version. and try again.

from pomelo.

py8765 avatar py8765 commented on August 27, 2024

Pomelo的最新版本已经支持Windows系统了,大家可以在自己的机器上尝试一下。

from pomelo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.