NetEase / pomelo

A fast,scalable,distributed game server framework for Node.js.
http://pomelo.netease.com
MIT License
11.88k stars 2.9k forks source link

pomelo安装问题 #132

Closed alexviolent closed 11 years ago

alexviolent commented 11 years ago

npm http GET https://registry.npmjs.org/toobusy/0.2.2 npm http GET https://registry.npmjs.org/pomelo-protobuf/0.3.0 npm http 304 https://registry.npmjs.org/seq-queue/0.0.5 npm http 304 https://registry.npmjs.org/pomelo-sync/0.0.3 npm http 304 https://registry.npmjs.org/crc/0.2.0 npm http 304 https://registry.npmjs.org/socket.io/0.9.13 npm http 304 https://registry.npmjs.org/cliff/0.1.8 npm http 304 https://registry.npmjs.org/mkdirp/0.3.3 npm http 304 https://registry.npmjs.org/pomelo-loader/0.0.4 npm http 304 https://registry.npmjs.org/pomelo-rpc/0.1.0 npm http 304 https://registry.npmjs.org/pomelo-protocol/0.1.0 npm http 304 https://registry.npmjs.org/pomelo-monitor/0.3.5 npm http 304 https://registry.npmjs.org/pomelo-logger/0.0.2 npm http 304 https://registry.npmjs.org/pomelo-protobuf/0.3.0 npm http 304 https://registry.npmjs.org/pomelo-admin/0.1.0 npm WARN package.json pomelo-admin@0.1.0 No README.md file found! npm http 304 https://registry.npmjs.org/async/0.2.5 npm http 304 https://registry.npmjs.org/ws/0.4.25 npm http 304 https://registry.npmjs.org/toobusy/0.2.2 npm http GET https://registry.npmjs.org/log4js npm http GET https://registry.npmjs.org/bindings/1.0.0 npm http GET https://registry.npmjs.org/pomelo-schedule/0.3.4 npm http GET https://registry.npmjs.org/pomelo-monitor/0.3.7 npm http GET https://registry.npmjs.org/socket.io-client/0.9.11 npm http GET https://registry.npmjs.org/v8-profiler/3.6.2-1 npm http GET https://registry.npmjs.org/socket.io-client npm http GET https://registry.npmjs.org/stream-pkg/0.0.4 npm http GET https://registry.npmjs.org/policyfile/0.0.4 npm http GET https://registry.npmjs.org/base64id/0.1.0 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/winston npm http GET https://registry.npmjs.org/eyes npm http 304 https://registry.npmjs.org/bindings/1.0.0 npm http 304 https://registry.npmjs.org/log4js npm http 304 https://registry.npmjs.org/v8-profiler/3.6.2-1 npm http 304 https://registry.npmjs.org/pomelo-monitor/0.3.7 npm http 304 https://registry.npmjs.org/socket.io-client npm http 304 https://registry.npmjs.org/socket.io-client/0.9.11 npm http 304 https://registry.npmjs.org/pomelo-schedule/0.3.4 npm http 304 https://registry.npmjs.org/stream-pkg/0.0.4 npm http 304 https://registry.npmjs.org/policyfile/0.0.4 npm http 304 https://registry.npmjs.org/base64id/0.1.0 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

toobusy@0.2.2 install C:\Program Files\nodejs\node_modules\pomelo\node_modules \toobusy node-gyp rebuild

CreateProcessW: 系统找不到指定的文件。 npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'C:\Program Files\nodejs\nod e_modules\pomelo\node_modules\cliff\node_modules\colors' npm ERR! error rolling back pomelo@0.3.3 { [Error: ENOTEMPTY, rmdir 'C:\Program Files\nodejs\node_modules\pomelo\node_modules\cliff\node_modules\colors'] npm ERR! error rolling back errno: 53, npm ERR! error rolling back code: 'ENOTEMPTY', npm ERR! error rolling back path: 'C:\Program Files\nodejs\node_modules\po melo\node_modules\cliff\node_modules\colors' } npm ERR! toobusy@0.2.2 install: node-gyp rebuild npm ERR! cmd "/c" "node-gyp rebuild" failed with 127 npm ERR! npm ERR! Failed at the toobusy@0.2.2 install script. npm ERR! This is most likely a problem with the toobusy 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 toobusy npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 5.1.2600 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:\Program Files\nodejs npm ERR! node -v v0.8.9 npm ERR! npm -v 1.2.9 npm ERR! code ELIFECYCLE npm ERR! Error: ENOENT, chmod 'C:\Program Files\nodejs\nodemodules\pomelo\node modules\pomelo-admin\node_modules\pomelo-monitor\lib' npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com

npm ERR! System Windows_NT 5.1.2600 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:\Program Files\nodejs npm ERR! node -v v0.8.9 npm ERR! npm -v 1.2.9 npm ERR! path C:\Program Files\nodejs\node_modules\pomelo\node_modules\pomelo-ad min\node_modules\pomelo-monitor\lib npm ERR! fstream_path C:\Program Files\nodejs\node_modules\pomelo\node_modules\p omelo-admin\node_modules\pomelo-monitor\lib\processMonitor.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! fstream_finish_call setupMadeDir npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack end (C:\Program Files\nodejs\node_modules\npm\node_module s\fstream\lib\writer.js:319:21) npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:336:20 npm ERR! fstream_stack next (C:\Program Files\nodejs\node_modules\npm\node_modul es\fstream\lib\writer.js:366:20) npm ERR! fstream_stack Object.oncomplete (fs.js:297:15) npm ERR! Error: ENOENT, lstat 'C:\Program Files\nodejs\nodemodules\pomelo\node modules\pomelo-logger\node_modules\log4js\lib\layouts.js' npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com

npm ERR! System Windows_NT 5.1.2600 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:\Program Files\nodejs npm ERR! node -v v0.8.9 npm ERR! npm -v 1.2.9 npm ERR! path C:\Program Files\nodejs\node_modules\pomelo\node_modules\pomelo-lo gger\node_modules\log4js\lib\layouts.js npm ERR! fstream_path C:\Program Files\nodejs\node_modules\pomelo\node_modules\p omelo-logger\node_modules\log4js\lib\layouts.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:297:15) npm ERR! Error: ENOENT, lstat 'C:\Program Files\nodejs\nodemodules\pomelo\node modules\pomelo-admin\node_modules\pomelo-schedule\lib\cronTriggerDecoder.js' npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com

npm ERR! System Windows_NT 5.1.2600 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:\Program Files\nodejs npm ERR! node -v v0.8.9 npm ERR! npm -v 1.2.9 npm ERR! path C:\Program Files\nodejs\node_modules\pomelo\node_modules\pomelo-ad min\node_modules\pomelo-schedule\lib\cronTriggerDecoder.js npm ERR! fstream_path C:\Program Files\nodejs\node_modules\pomelo\node_modules\p omelo-admin\node_modules\pomelo-schedule\lib\cronTriggerDecoder.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:297:15) npm ERR! Error: ENOENT, lstat 'C:\Program Files\nodejs\nodemodules\pomelo\node modules\cliff\node_modules\colors\colors.js' npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com

npm ERR! System Windows_NT 5.1.2600 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:\Program Files\nodejs npm ERR! node -v v0.8.9 npm ERR! npm -v 1.2.9 npm ERR! path C:\Program Files\nodejs\node_modules\pomelo\node_modules\cliff\nod e_modules\colors\colors.js npm ERR! fstream_path C:\Program Files\nodejs\node_modules\pomelo\node_modules\c liff\node_modules\colors\colors.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:297:15) npm ERR! Error: ENOENT, lstat 'C:\Program Files\nodejs\nodemodules\pomelo\node modules\socket.io\node_modules\redis\README.md' npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com

npm ERR! System Windows_NT 5.1.2600 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:\Program Files\nodejs npm ERR! node -v v0.8.9 npm ERR! npm -v 1.2.9 npm ERR! path C:\Program Files\nodejs\node_modules\pomelo\node_modules\socket.io \node_modules\redis\README.md npm ERR! fstream_path C:\Program Files\nodejs\node_modules\pomelo\node_modules\s ocket.io\node_modules\redis\README.md npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:297:15) npm ERR! Error: ENOENT, lstat 'C:\Program Files\nodejs\nodemodules\pomelo\node modules\socket.io\node_modules\policyfile\doc\index.html' npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com

npm ERR! System Windows_NT 5.1.2600 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:\Program Files\nodejs npm ERR! node -v v0.8.9 npm ERR! npm -v 1.2.9 npm ERR! path C:\Program Files\nodejs\node_modules\pomelo\node_modules\socket.io \node_modules\policyfile\doc\index.html npm ERR! fstream_path C:\Program Files\nodejs\node_modules\pomelo\node_modules\s ocket.io\node_modules\policyfile\doc\index.html npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:297:15) npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'C:\Program Files\nodejs\nod e_modules\pomelo\node_modules\cliff\node_modules\winston\docs' npm ERR! error rolling back cliff@0.1.8 { [Error: ENOTEMPTY, rmdir 'C:\Program Files\nodejs\node_modules\pomelo\node_modules\cliff\node_modules\winston\docs'] npm ERR! error rolling back errno: 53, npm ERR! error rolling back code: 'ENOTEMPTY', npm ERR! error rolling back path: 'C:\Program Files\nodejs\node_modules\po melo\node_modules\cliff\node_modules\winston\docs' } npm ERR! Error: ENOENT, lstat 'C:\Program Files\nodejs\nodemodules\pomelo\node modules\cliff\node_modules\winston\docs\transports.md' npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com

npm ERR! System Windows_NT 5.1.2600 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:\Program Files\nodejs npm ERR! node -v v0.8.9 npm ERR! npm -v 1.2.9 npm ERR! path C:\Program Files\nodejs\node_modules\pomelo\node_modules\cliff\nod e_modules\winston\docs\transports.md npm ERR! fstream_path C:\Program Files\nodejs\node_modules\pomelo\node_modules\c liff\node_modules\winston\docs\transports.md npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:297:15) npm ERR! Error: ENOENT, lstat 'C:\Program Files\nodejs\nodemodules\pomelo\node modules\pomelo-admin\node_modules\socket.io-client\dist\socket.io.js' npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com

npm ERR! System Windows_NT 5.1.2600 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:\Program Files\nodejs npm ERR! node -v v0.8.9 npm ERR! npm -v 1.2.9 npm ERR! path C:\Program Files\nodejs\node_modules\pomelo\node_modules\pomelo-ad min\node_modules\socket.io-client\dist\socket.io.js npm ERR! fstream_path C:\Program Files\nodejs\node_modules\pomelo\node_modules\p omelo-admin\node_modules\socket.io-client\dist\socket.io.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (fs.js:297:15) npm WARN optional dep failed, continuing v8-profiler@3.6.2-1 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/active-x-obfuscator/0.0.1 npm http 304 https://registry.npmjs.org/uglify-js/1.2.5 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 GET https://registry.npmjs.org/zeparser/0.0.5 npm http 304 https://registry.npmjs.org/zeparser/0.0.5 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Program Files\nodejs\npm-debug.log npm ERR! not ok code 0

C:\Program Files\nodejs>

————————————————————

以上是log,不知道是什么问题啊?求助,谢谢了。 ps:装了vs2010了并且是下的node.js源码编译的node.exe,npm也装了,以上是执行 npm install pomelo -g 后的err。 我想用pomelo作为我的移动网游的服务器,希望能得到解决,谢谢了。

halfblood369 commented 11 years ago

如果是想产品开发用,真心建议你使用Linux系统开发,会方便很多。还有你的问题可以参照快速使用指南: https://github.com/NetEase/pomelo/wiki/pomelo%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97

alexviolent commented 11 years ago

就是参照快速指南的做法做的,就出上诉的错误,望求解。 我去年还专门坐了6小时的动车到杭州网易研究院听了pomelo的讲座呢。