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

HTTPParser error #1006

Open flyish opened 6 years ago

flyish commented 6 years ago

test game server occur http parser error.

Caught exception: TypeError: ParserIncomingMessage is not a constructor at HTTPParser.parserOnHeadersComplete (_http_common.js:81:21) at socketOnData (_http_server.js:472:20) at Socket.emit (events.js:180:13) at Processor.add (F:\work\pomelo\HelloWorld\game-server\node_modules\pomelo\lib\connectors\hybrid\wsprocessor.js:41:12) at processHttp (F:\work\pomelo\HelloWorld\game-server\node_modules\pomelo\lib\connectors\hybrid\switcher.js:98:13) at Socket. (F:\work\pomelo\HelloWorld\game-server\node_modules\pomelo\lib\connectors\hybrid\switcher.js:65:7)

chenzeZzz commented 6 years ago

@flyish 怎么解决的

flyish commented 6 years ago

@chenzeZzz 没有解决掉,没用它了

chenzeZzz commented 6 years ago

@flyish 文档很少,也不维护了,有推荐的框架吗

chenzeZzz commented 6 years ago

@flyish 解决了,是node版本的问题,pomelo对node版本有限制,据说最高6.11

flyish commented 6 years ago

@chenzeZzz ^_^ 厉害