New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPParser error #1006

Open
flyish opened this Issue Mar 31, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@flyish

flyish commented Mar 31, 2018

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

This comment has been minimized.

chenzeZzz commented Apr 17, 2018

@flyish
怎么解决的

@flyish

This comment has been minimized.

flyish commented Apr 17, 2018

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

@chenzeZzz

This comment has been minimized.

chenzeZzz commented Apr 17, 2018

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

@chenzeZzz

This comment has been minimized.

chenzeZzz commented Apr 17, 2018

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

@flyish

This comment has been minimized.

flyish commented Apr 17, 2018

@chenzeZzz ^_^ 厉害

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment