8000 最新版本的socketio库不兼容这个了 · Issue #16 · wayou/HiChat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

最新版本的socketio库不兼容这个了 #16

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

Open
leeseean opened this issue Oct 3, 2017 · 2 comments
Open

最新版本的socketio库不兼容这个了 #16

leeseean opened this issue Oct 3, 2017 · 2 comments

Comments

@leeseean
Copy link
leeseean commented Oct 3, 2017

能改写成es6模块化模式代码吗?

@allen-hu-666
Copy link

@hktalent
Copy link
hktalent commented Sep 2, 2021

io = require('socket.io').listen(server),
^

TypeError: require(...).listen is not a function

io = require('socket.io')().listen(server),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0