学习聊天室教程时执行node命令按照依赖出错

helloworld那个demo是可以跑起来的,,,
执行命令安装依赖:

$ sh npm-install.sh
然后走到这里报红

ok.cc
..\src\bufferutil.cc(36): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [C:\Users\duelyst\chatofpomelo-websocket\gam
e-server\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(36): error C2143: 语法错误: 缺少“,”(在“&”的前面) [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_m
odules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(44): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [C:\Users\duelyst\chatofpomelo-websocket\gam
e-server\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(44): error C2143: 语法错误: 缺少“,”(在“&”的前面) [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_m
odules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(62): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [C:\Users\duelyst\chatofpomelo-websocket\gam
e-server\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(62): error C2143: 语法错误: 缺少“,”(在“&”的前面) [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_m
odules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(83): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [C:\Users\duelyst\chatofpomelo-websocket\gam
e-server\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(83): error C2143: 语法错误: 缺少“,”(在“&”的前面) [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_m
odules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(25): error C2248: “v8::HandleScope::HandleScope”: 无法访问 protected 成员(在“v8::HandleScope”类中声明) [C:\Us
ers\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(874): note: 参见“v8::HandleScope::HandleScope”的声明
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明
..\src\bufferutil.cc(26): error C2664: “v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate *,v8::Fun
ctionCallback,v8::Local<v8::Value>,v8::Local<v8::Signature>,int,v8::ConstructorBehavior)”: 无法将参数 1 从“v8::Local<v8::Valu
e> (cdecl *)(const int)”转换为“v8::Isolate *” [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build
\bufferutil.vcxproj]
..\src\bufferutil.cc(26): note: 没有使该转换得以执行的上下文
..\src\bufferutil.cc(28): error C2665: “node::NODE_SET_METHOD”: 2 个重载中没有一个可以转换所有参数类型 [C:\Users\duelyst\chatofpomelo-web
socket\game-server\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\node.h(287): note: 可能是“void node::NODE_SET_METHOD(v8::Local<v8::Object>
,const char *,v8::FunctionCallback)” (编译源文件 ..\src\bufferutil.cc)
C:\Users\duelyst\.node-gyp\8.9.3\include\node\node.h(274): note: 或 “void node::NODE_SET_METHOD(v8::Local<v8::Templ
ate>,const char *,v8::FunctionCallback)” (编译源文件 ..\src\bufferutil.cc)
..\src\bufferutil.cc(28): note: 尝试匹配参数列表“(v8::Local<v8::Function>, const char [7], overloaded-function)”时
..\src\bufferutil.cc(29): error C2665: “node::NODE_SET_METHOD”: 2 个重载中没有一个可以转换所有参数类型 [C:\Users\duelyst\chatofpomelo-web
socket\game-server\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\node.h(287): note: 可能是“void node::NODE_SET_METHOD(v8::Local<v8::Object>
,const char *,v8::FunctionCallback)” (编译源文件 ..\src\bufferutil.cc)
C:\Users\duelyst\.node-gyp\8.9.3\include\node\node.h(274): note: 或 “void node::NODE_SET_METHOD(v8::Local<v8::Templ
ate>,const char *,v8::FunctionCallback)” (编译源文件 ..\src\bufferutil.cc)
..\src\bufferutil.cc(29): note: 尝试匹配参数列表“(v8::Local<v8::Function>, const char [5], overloaded-function)”时
..\src\bufferutil.cc(30): error C2665: “node::NODE_SET_METHOD”: 2 个重载中没有一个可以转换所有参数类型 [C:\Users\duelyst\chatofpomelo-web
socket\game-server\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\node.h(287): note: 可能是“void node::NODE_SET_METHOD(v8::Local<v8::Object>
,const char *,v8::FunctionCallback)” (编译源文件 ..\src\bufferutil.cc)
C:\Users\duelyst\.node-gyp\8.9.3\include\node\node.h(274): note: 或 “void node::NODE_SET_METHOD(v8::Local<v8::Templ
ate>,const char *,v8::FunctionCallback)” (编译源文件 ..\src\bufferutil.cc)
..\src\bufferutil.cc(30): note: 尝试匹配参数列表“(v8::Local<v8::Function>, const char [6], overloaded-function)”时
..\src\bufferutil.cc(31): error C2039: “NewSymbol”: 不是“v8::String”的成员 [C:\Users\duelyst\chatofpomelo-websocket\game-ser
ver\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(2443): note: 参见“v8::String”的声明
..\src\bufferutil.cc(31): error C3861: “NewSymbol”: 找不到标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_mo
dules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(38): error C2248: “v8::HandleScope::HandleScope”: 无法访问 protected 成员(在“v8::HandleScope”类中声明) [C:\Us
ers\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(874): note: 参见“v8::HandleScope::HandleScope”的声明
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明
..\src\bufferutil.cc(40): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_module
s\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(40): error C2228: “.This”的左边必须有类/结构/联合 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_m
odules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(40): note: 类型是“unknown-type”
..\src\bufferutil.cc(41): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_module
s\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(41): error C2228: “.This”的左边必须有类/结构/联合 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_m
odules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(41): note: 类型是“unknown-type”
..\src\bufferutil.cc(46): error C2248: “v8::HandleScope::HandleScope”: 无法访问 protected 成员(在“v8::HandleScope”类中声明) [C:\Us
ers\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(874): note: 参见“v8::HandleScope::HandleScope”的声明
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明
..\src\bufferutil.cc(47): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_module
s\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(47): error C2227: “->ToObject”的左边必须指向类/结构/联合/泛型类型 [C:\Users\duelyst\chatofpomelo-websocket\game-se
rver\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(49): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_module
s\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(49): error C2672: “v8::Local<v8::Array>::Cast”: 未找到匹配的重载函数 [C:\Users\duelyst\chatofpomelo-websocke
t\game-server\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(59): error C2039: “Close”: 不是“v8::HandleScope”的成员 [C:\Users\duelyst\chatofpomelo-websocket\game-se
rver\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明
..\src\bufferutil.cc(59): error C2660: “v8::True”: 函数不接受 0 个参数 [C:\Users\duelyst\chatofpomelo-websocket\game-server\nod
e_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(64): error C2248: “v8::HandleScope::HandleScope”: 无法访问 protected 成员(在“v8::HandleScope”类中声明) [C:\Us
ers\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(874): note: 参见“v8::HandleScope::HandleScope”的声明
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明
..\src\bufferutil.cc(65): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_module
s\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(65): error C2227: “->ToObject”的左边必须指向类/结构/联合/泛型类型 [C:\Users\duelyst\chatofpomelo-websocket\game-se
rver\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(67): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_module
s\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(67): error C2227: “->ToObject”的左边必须指向类/结构/联合/泛型类型 [C:\Users\duelyst\chatofpomelo-websocket\game-se
rver\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(80): error C2660: “v8::True”: 函数不接受 0 个参数 [C:\Users\duelyst\chatofpomelo-websocket\game-server\nod
e_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(85): error C2248: “v8::HandleScope::HandleScope”: 无法访问 protected 成员(在“v8::HandleScope”类中声明) [C:\Us
ers\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(874): note: 参见“v8::HandleScope::HandleScope”的声明
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明
..\src\bufferutil.cc(86): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_module
s\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(86): error C2227: “->ToObject”的左边必须指向类/结构/联合/泛型类型 [C:\Users\duelyst\chatofpomelo-websocket\game-se
rver\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(87): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_module
s\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(87): error C2227: “->ToObject”的左边必须指向类/结构/联合/泛型类型 [C:\Users\duelyst\chatofpomelo-websocket\game-se
rver\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(89): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_module
s\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(89): error C2227: “->ToObject”的左边必须指向类/结构/联合/泛型类型 [C:\Users\duelyst\chatofpomelo-websocket\game-se
rver\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(90): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_module
s\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(90): error C2227: “->Int32Value”的左边必须指向类/结构/联合/泛型类型 [C:\Users\duelyst\chatofpomelo-websocket\game-
server\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(91): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_module
s\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(91): error C2227: “->Int32Value”的左边必须指向类/结构/联合/泛型类型 [C:\Users\duelyst\chatofpomelo-websocket\game-
server\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(105): error C2660: “v8::True”: 函数不接受 0 个参数 [C:\Users\duelyst\chatofpomelo-websocket\game-server\no
de_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(111): error C2248: “v8::HandleScope::HandleScope”: 无法访问 protected 成员(在“v8::HandleScope” 类中声明) [C:\U
sers\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(874): note: 参见“v8::HandleScope::HandleScope”的声明
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明
validation.cc
win_delay_load_hook.cc
..\src\validation.cc(116): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [C:\Users\duelyst\chatofpomelo-websocket\ga
me-server\node_modules\ws\build\validation.vcxproj]
..\src\validation.cc(116): error C2143: 语法错误: 缺少“,”(在“&”的前面) [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_
modules\ws\build\validation.vcxproj]
..\src\validation.cc(124): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [C:\Users\duelyst\chatofpomelo-websocket\ga
me-server\node_modules\ws\build\validation.vcxproj]
..\src\validation.cc(124): error C2143: 语法错误: 缺少“,”(在“&”的前面) [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_
modules\ws\build\validation.vcxproj]
..\src\validation.cc(107): error C2248: “v8::HandleScope::HandleScope”: 无法访问 protected 成员(在“v8::HandleScope” 类中声明) [C:\U
sers\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build\validation.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(874): note: 参见“v8::HandleScope::HandleScope”的声明
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明
..\src\validation.cc(108): error C2664: “v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate *,v8::Fu
nctionCallback,v8::Local<v8::Value>,v8::Local<v8::Signature>,int,v8::ConstructorBehavior)”: 无法将参数 1 从“v8::Local<v8::Val
ue> (
cdecl *)(const int)”转换为“v8::Isolate *” [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\buil
d\validation.vcxproj]
..\src\validation.cc(108): note: 没有使该转换得以执行的上下文
..\src\validation.cc(110): error C2665: “node::NODE_SET_METHOD”: 2 个重载中没有一个可以转换所有参数类型 [C:\Users\duelyst\chatofpomelo-we
bsocket\game-server\node_modules\ws\build\validation.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\node.h(287): note: 可能是“void node::NODE_SET_METHOD(v8::Local<v8::Object>
,const char *,v8::FunctionCallback)” (编译源文件 ..\src\validation.cc)
C:\Users\duelyst\.node-gyp\8.9.3\include\node\node.h(274): note: 或 “void node::NODE_SET_METHOD(v8::Local<v8::Templ
ate>,const char *,v8::FunctionCallback)” (编译源文件 ..\src\validation.cc)
..\src\validation.cc(110): note: 尝试匹配参数列表“(v8::Local<v8::Function>, const char [12], overloaded-function)”时
..\src\validation.cc(111): error C2039: “NewSymbol”: 不是“v8::String”的成员 [C:\Users\duelyst\chatofpomelo-websocket\game-se
rver\node_modules\ws\build\validation.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(2443): note: 参见“v8::String”的声明
..\src\validation.cc(111): error C3861: “NewSymbol”: 找不到标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_m
odules\ws\build\validation.vcxproj]
..\src\validation.cc(118): error C2248: “v8::HandleScope::HandleScope”: 无法访问 protected 成员(在“v8::HandleScope” 类中声明) [C:\U
sers\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build\validation.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(874): note: 参见“v8::HandleScope::HandleScope”的声明
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明
..\src\validation.cc(120): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_modul
es\ws\build\validation.vcxproj]
..\src\validation.cc(120): error C2228: “.This”的左边必须有类/结构/联合 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_
modules\ws\build\validation.vcxproj]
..\src\validation.cc(120): note: 类型是“unknown-type”
..\src\validation.cc(121): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_modul
es\ws\build\validation.vcxproj]
..\src\validation.cc(121): error C2228: “.This”的左边必须有类/结构/联合 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_
modules\ws\build\validation.vcxproj]
..\src\validation.cc(121): note: 类型是“unknown-type”
..\src\validation.cc(126): error C2248: “v8::HandleScope::HandleScope”: 无法访问 protected 成员(在“v8::HandleScope” 类中声明) [C:\U
sers\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build\validation.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(874): note: 参见“v8::HandleScope::HandleScope”的声明
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明
..\src\validation.cc(127): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_modul
es\ws\build\validation.vcxproj]
..\src\validation.cc(128): error C2039: “New”: 不是“v8::String”的成员 [C:\Users\duelyst\chatofpomelo-websocket\game-server\n
ode_modules\ws\build\validation.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(2443): note: 参见“v8::String”的声明
..\src\validation.cc(128): error C2664: “v8::Local<v8::Value> Validation::New(const int)”: 无法将参数 1 从“const char [36]”转换
为“const int” [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build\validation.vcxproj]
..\src\validation.cc(128): note: 没有使该转换得以执行的上下文
..\src\validation.cc(128): error C3861: “ThrowException”: 找不到标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\n
ode_modules\ws\build\validation.vcxproj]
..\src\validation.cc(130): error C2065: “args”: 未声明的标识符 [C:\Users\duelyst\chatofpomelo-websocket\game-server\node_modul
es\ws\build\validation.vcxproj]
..\src\validation.cc(130): error C2227: “->ToObject”的左边必须指向类/结构/联合/泛型类型 [C:\Users\duelyst\chatofpomelo-websocket\game-s
erver\node_modules\ws\build\validation.vcxproj]
..\src\validation.cc(133): error C2039: “Close”: 不是“v8::HandleScope”的成员 [C:\Users\duelyst\chatofpomelo-websocket\game-s
erver\node_modules\ws\build\validation.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明
..\src\validation.cc(133): error C2660: “v8::True”: 函数不接受 0 个参数 [C:\Users\duelyst\chatofpomelo-websocket\game-server\no
de_modules\ws\build\validation.vcxproj]
..\src\validation.cc(133): error C2660: “v8::False”: 函数不接受 0 个参数 [C:\Users\duelyst\chatofpomelo-websocket\game-server\n
ode_modules\ws\build\validation.vcxproj]
..\src\validation.cc(139): error C2248: “v8::HandleScope::HandleScope”: 无法访问 protected 成员(在“v8::HandleScope” 类中声明) [C:\U
sers\duelyst\chatofpomelo-websocket\game-server\node_modules\ws\build\validation.vcxproj]
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(874): note: 参见“v8::HandleScope::HandleScope”的声明
C:\Users\duelyst\.node-gyp\8.9.3\include\node\v8.h(855): note: 参见“v8::HandleScope”的声明

标签: pomelo 开发求助
duelyst 在 1-12 15:34发布 分享到 weibo
2 回复
#1 duelyst 1-12 15:36 回复

然后执行game-server就会出现这个错误了
TypeError: Cannot read property 'prototype' of undefined
at Object.<anonymous> (C:\Users\duelyst\chatofpomelo-websocket\game-server\node_modules\socket.io\lib\store.js:35:42)
at Module.compile (module.js:635:30)
at Object.Module.
extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module.load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\Users\duelyst\chatofpomelo-websocket\game-server\node_modules\socket.io\lib\manager.js:16:13)
at Module.
compile (module.js:635:30)

#2 duelyst 1-12 16:09 回复

。。。。我知道为啥了,给后来的人提个醒。。。
修改一下服务端game-server里面的package.json,将里面的pomelo: "0.8.0"改为现在的版本,应该是2.2.5,哎,官方也是不上心,改一下版本号而已

回到顶部