pomelo安装不了,求助~
发布于 2年前 作者 peiweippww 2127 次浏览

本人win系统,安装文档上的要求我已安装了Python(2.5<version<3.0),VC++ 编译器。但是还是报错,火大,光安装都这么费劲~

3 回复

能发下异常信息吗?

https://github.com/NetEase/pomelo/wiki/中文FAQ 里列了几种常见情况 https://github.com/NetEase/pomelo-cn/issues 下可以参考一下以前的issue

npm http 304 https://registry.npmjs.org/pomelo-loader/0.0.4 npm http 304 https://registry.npmjs.org/pomelo-admin/0.1.0 npm http 304 https://registry.npmjs.org/pomelo-protocol/0.1.0 npm http 304 https://registry.npmjs.org/toobusy/0.2.2 npm WARN package.json [email protected] No README.md file found! npm http 304 https://registry.npmjs.org/pomelo-protobuf/0.3.0 npm http 304 https://registry.npmjs.org/ws/0.4.25 npm http 200 https://registry.npmjs.org/pomelo-monitor/0.3.5 npm http GET https://registry.npmjs.org/pomelo-monitor/-/pomelo-monitor-0.3.5.tg z npm http 200 https://registry.npmjs.org/pomelo-monitor/-/pomelo-monitor-0.3.5.tg z 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/v8-profiler/3.6.2-1 npm http GET https://registry.npmjs.org/socket.io-client/0.9.11 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 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/stream-pkg/0.0.4 npm http GET https://registry.npmjs.org/socket.io-client npm http GET https://registry.npmjs.org/tinycolor npm http GET https://registry.npmjs.org/options npm http GET https://registry.npmjs.org/commander npm http 304 https://registry.npmjs.org/bindings/1.0.0

[email protected] install C:\Documents and Settings\Administrator\Application Data \npm\node_modules\pomelo\node_modules\toobusy node-gyp rebuild

npm http 304 https://registry.npmjs.org/pomelo-schedule/0.3.4 npm http 304 https://registry.npmjs.org/socket.io-client/0.9.11

C:\Documents and Settings\Administrator\Application Data\npm\node_modules\pomelo \node_modules\toobusy>node “C:\Program Files\nodejs\node_modules\npm\bin\node-gy p-bin\…\node_modules\node-gyp\bin\node-gyp.js” rebuild npm http 304 https://registry.npmjs.org/colors npm http 304 https://registry.npmjs.org/winston npm http 304 https://registry.npmjs.org/eyes 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/stream-pkg/0.0.4 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/tinycolor npm http 304 https://registry.npmjs.org/v8-profiler/3.6.2-1 npm http 304 https://registry.npmjs.org/options npm http GET https://registry.npmjs.org/cycle npm http GET https://registry.npmjs.org/stack-trace npm http GET https://registry.npmjs.org/pkginfo npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/async

[email protected] install C:\Documents and Settings\Administrator\Applicatio n Data\npm\node_modules\pomelo\node_modules\pomelo-admin\node_modules\v8-profile r node-gyp rebuild

C:\Documents and Settings\Administrator\Application Data\npm\node_modules\pomelo \node_modules\pomelo-admin\node_modules\v8-profiler>node "C:\Program Files\nodej s\node_modules\npm\bin\node-gyp-bin\…\node_modules\node-gyp\bin\node-gyp.js " rebuild npm http 304 https://registry.npmjs.org/commander npm http 304 https://registry.npmjs.org/async

[email protected] install C:\Documents and Settings\Administrator\Application Data\npm \node_modules\pomelo\node_modules\ws (node-gyp rebuild 2> builderror.log) || (exit 0)

C:\Documents and Settings\Administrator\Application Data\npm\node_modules\pomelo \node_modules\ws>node “C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin \…\node_modules\node-gyp\bin\node-gyp.js” rebuild npm http GET https://registry.npmjs.org/async/0.1.15 npm http GET https://registry.npmjs.org/dequeue/1.0.3 npm http 304 https://registry.npmjs.org/request npm http 304 https://registry.npmjs.org/pkginfo npm http 304 https://registry.npmjs.org/stack-trace npm http 304 https://registry.npmjs.org/cycle npm http 304 https://registry.npmjs.org/dequeue/1.0.3 npm http 304 https://registry.npmjs.org/async/0.1.15 npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2 npm http GET https://registry.npmjs.org/uglify-js/1.2.5 npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1 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/uglify-js/1.2.5 npm http GET https://registry.npmjs.org/zeparser/0.0.5 npm http 304 https://registry.npmjs.org/zeparser/0.0.5 bufferutil.cc toobusy.cc profile_node.cc heap_profiler.cc cpu_profiler.cc C:\Documents and Settings\Administrator.node-gyp\0.8.21\deps\v8\include\v8.h(1 C:\Documents and Settings\Administrator.node-gyp\0.8.21\deps\v8\include\v8.h(1 83): warning C4506: 内联函数“v8::Persistent<T> v8::Persistent<T>::New(v8::Handl e<T> )”没有定义 [C:\Documents and Settings\Administrator\Application Data\npm\node_m odul es\pomelo\node_modules\toobusy\build\toobusy.vcxproj] with 83): warning C4506: 内联函数“v8::Persistent<T> v8::Persistent<T>::New(v8::Handl e<T> )”没有定义 [C:\Documents and Settings\Administrator\Application Data\npm\node_m odul C:\Documents and Settings\Administrator.node-gyp\0.8.21\deps\v8\include\v8.h(1 [ es\pomelo\node_modules\pomelo-admin\node_modules\v8-profiler\build\profiler.vcx 83): warning C4506: 内联函数“v8::Persistent<T> v8::Persistent<T>::New(v8::Handl e<T> T=v8::Object proj] )”没有定义 [C:\Documents and Settings\Administrator\Application Data\npm\node_m odul ] es\pomelo\node_modules\ws\build\bufferutil.vcxproj] with [ T=v8::Object ] with [ T=v8::Object ] C:\Documents and Settings\Administrator.node-gyp\0.8.21\deps\v8\include\v8.h(1 83): warning C4506: 内联函数“v8::Persistent<T> v8::Persistent<T>::New(v8::Handl e<T> )”没有定义 [C:\Documents and Settings\Administrator\Application Data\npm\node_m odul es\pomelo\node_modules\pomelo-admin\node_modules\v8-profiler\build\profiler.vcx proj] with [ T=v8::Object ] graph_edge.cc snapshot.cc graph_node.cc …\graph_node.cc(76): warning C4244: “参数”: 从“uint64_t”转换到“uint32_t” ,可能丢失数据 [C:
Documents and Settings\Administrator\Application Data\npm\node_modules\pomelo\n ode_modules\pomelo-admin\node_modules\v8-profiler\build\profiler.vcxproj] …\graph_node.cc(84): warning C4244: “参数”: 从“uint64_t”转换到“uint32_t” ,可能丢失数据 [C:
Documents and Settings\Administrator\Application Data\npm\node_modules\pomelo\n ode_modules\pomelo-admin\node_modules\v8-profiler\build\profiler.vcxproj] profiler.cc …\snapshot.cc(90): warning C4244: “参数”: 从“uint64_t”转换到“v8::SnapshotO bjectId”,可 能丢失数据 [C:\Documents and Settings\Administrator\Application Data\npm\node_mo dule s\pomelo\node_modules\pomelo-admin\node_modules\v8-profiler\build\profiler.vcxp roj] C:\Documents and Settings\Administrator.node-gyp\0.8.21\deps\v8\include\v8.h(1 83): warning C4506: 内联函数“v8::Persistent<T> v8::Persistent<T>::New(v8::Handl e<T> )”没有定义 [C:\Documents and Settings\Administrator\Application Data\npm\node_m odul es\pomelo\node_modules\pomelo-admin\node_modules\v8-profiler\build\profiler.vcx proj] with [ T=v8::Object ] profile.cc C:\Documents and Settings\Administrator.node-gyp\0.8.21\deps\v8\include\v8.h(1 78): warning C4506: 内联函数“v8::Persistent<T> v8::Persistent<T>::New(v8::Handl e<T> )”没有定义 [C:\Documents and Settings\Administrator\Application Data\npm\node_m odul es\pomelo\node_modules\pomelo-admin\node_modules\v8-profiler\build\profiler.vcx proj] with [ T=v8::Object ] 正在创建库 C:\Documents and Settings\Administrator\Application Data\npm\nod e_mo dules\pomelo\node_modules\toobusy\build\Release\toobusy.lib 和对象 C:\Document s and Settings\Administrator\Application Data\npm\node_modules\pomelo\node_modu les\toobusy\build\Release\toobusy.exp 正在生成代码 正在创建库 C:\Documents and Settings\Administrator\Application Data\npm\nod e_mo dules\pomelo\node_modules\ws\build\Release\bufferutil.lib 和对象 C:\Documents an d Settings\Administrator\Application Data\npm\node_modules\pomelo\node_module s\ws\build\Release\bufferutil.exp 正在生成代码 已完成代码的生成 已完成代码的生成 bufferutil.vcxproj -> C:\Documents and Settings\Administrator\Application Dat a\npm\node_modules\pomelo\node_modules\ws\build\Release\bufferutil.node toobusy.vcxproj -> C:\Documents and Settings\Administrator\Application Data\n 正在创建库 C:\Documents and Settings\Administrator\Application Data\npm\nod e_mo pm\node_modules\pomelo\node_modules\toobusy\build\Release\toobusy.node dules\pomelo\node_modules\pomelo-admin\node_modules\v8-profiler\build\Release \profiler.lib 和对象 C:\Documents and Settings\Administrator\Application Data
np m\node_modules\pomelo\node_modules\pomelo-admin\node_modules\v8-profiler\buil d\Release\profiler.exp graph_node.obj : error LNK2001: 无法解析的外部符号 "public: class v8::HeapGraphN ode cons t * __thiscall v8::HeapGraphNode::GetDominatorNode(void)const " (?GetDominatorN ode@HeapGraphNode@v8@@QBEPBV12@XZ) [C:\Documents and Settings\Administrator\App lication Data\npm\node_modules\pomelo\node_modules\pomelo-admin\node_modules\v8 -profiler\build\profiler.vcxproj] graph_node.obj : error LNK2001: 无法解析的外部符号 "public: class v8::HeapGraphE dge cons t * __thiscall v8::HeapGraphNode::GetRetainer(int)const " (?GetRetainer@HeapGra phNode@v8@@QBEPBVHeapGraphEdge@2@H@Z) [C:\Documents and Settings\Administrator
Application Data\npm\node_modules\pomelo\node_modules\pomelo-admin\node_modules \v8-profiler\build\profiler.vcxproj] graph_node.obj : error LNK2001: 无法解析的外部符号 "public: int __thiscall v8::H eapGraph Node::GetRetainersCount(void)const " (?GetRetainersCount@HeapGraphNode@v8@@QBEH XZ) [C:\Documents and Settings\Administrator\Application Data\npm\node_modules
pomelo\node_modules\pomelo-admin\node_modules\v8-profiler\build\profiler.vcxpro j] graph_node.obj : error LNK2001: 无法解析的外部符号 "public: int __thiscall v8::H eapGraph Node::GetRetainedSize(void)const " (?GetRetainedSize@HeapGraphNode@v8@@QBEHXZ) [C:\Documents and Settings\Administrator\Application Data\npm\node_modules\pome lo\node_modules\pomelo-admin\node_modules\v8-profiler\build\profiler.vcxproj] C:\Documents and Settings\Administrator\Application Data\npm\node_modules\pomel o\node_modules\pomelo-admin\node_modules\v8-profiler\build\Release\profiler.nod e : fatal error LNK1120: 4 个无法解析的外部命令 [C:\Documents and Settings\Admin istrator
Application Data\npm\node_modules\pomelo\node_modules\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:255: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 5.1.2600 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:\Documents and Settings\Administrator\Application Data\npm\node_m odules\pomelo\node_modules\pomelo-admin\node_modules\v8-profiler gyp ERR! node -v v0.8.21 gyp ERR! node-gyp -v v0.8.4 gyp ERR! not ok npm WARN optional dep failed, continuing [email protected] validation.cc C:\Documents and Settings\Administrator.node-gyp\0.8.21\deps\v8\include\v8.h(1 83): warning C4506: 内联函数“v8::Persistent<T> v8::Persistent<T>::New(v8::Handl e<T> )”没有定义 [C:\Documents and Settings\Administrator\Application Data\npm\node_m odul es\pomelo\node_modules\ws\build\validation.vcxproj] with [ T=v8::Object ] 正在创建库 C:\Documents and Settings\Administrator\Application Data\npm\nod e_mo dules\pomelo\node_modules\ws\build\Release\validation.lib 和对象 C:\Documents an d Settings\Administrator\Application Data\npm\node_modules\pomelo\node_module s\ws\build\Release\validation.exp 正在生成代码 已完成代码的生成 validation.vcxproj -> C:\Documents and Settings\Administrator\Application Dat a\npm\node_modules\pomelo\node_modules\ws\build\Release\validation.node C:\Documents and Settings\Administrator\Application Data\npm\pomelo -> C:\Docume nts and Settings\Administrator\Application Data\npm\node_modules\pomelo\bin\pome lo [email protected] C:\Documents and Settings\Administrator\Application Data\npm\node_m odules\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], socket.i [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])

C:\Documents and Settings\Administrator>

能加你qq吗,我们游戏现在客户端用的是c++,服务端nodejs,打算用你们框架来支持,不过有一些问题想咨询下,很简单,不会耽误你太多的时间,可否?

回到顶部