-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
TypeError: Cannot destructure property 'Server' of '_engineIo.default' #15363
Comments
Also happens on the stable version. So I cannot make a module with socket.io right now ?! |
Most likely a bug related to unjs/jiti#87 |
I think it also has something to do with the "listen" hook which does not work on nuxt build. |
This comment was marked as duplicate.
This comment was marked as duplicate.
It seems happened when socket.io version |
It didnt work on my end, can you share example project. Thanks |
|
Environment
Darwin
v18.9.0
3.0.0-rc.13
0.6.1
npm@8.0.0
vite
-
-
-
Reproduction
https://github.com/iamdaveydave/nuxt-internal-sctc.git
Describe the bug
I'm following the module author guide, I got an error "Cannot destructure property 'Server' of '_engineIo.default'" after running "npm run dev:prepare".
![Screenshot 2022-11-05 at 12 11 45 AM](https://user-images.githubusercontent.com/110576139/200039911-8cce4f45-9913-44c4-a4f2-fea11094d143.png)
Someone also created an issue to socket.io few days ago.
socketio/engine.io#657
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: