ERROR Cannot start nuxt: Cannot destructure property 'Server' of '_engineIo.default' as it is undefined.
See original GitHub issueEnvironment
- Operating System:
Windows_NT
- Node Version:
v16.18.0
- Nuxt Version:
3.0.0
- Nitro Version:
1.0.0
- Package Manager:
yarn@1.22.19
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Reproduction
Create a module for socket.io and import it into the nuxt.config.ts file.
Describe the bug
When trying to import module with socket configured, the nuxt server crashes and throw the error ""ERROR Cannot start nuxt: Cannot destructure property ‘Server’ of ‘_engineIo.default’ as it is undefined. “”.
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
[Vue warn]: Error in data(): "TypeError: Cannot destructure ...
I am setting up tests on a Nuxt2 app using @nuxtjs/composition-api and @vue/test-utils . In addition, there is a vue-CLI UI library using ......
Read more >Cannot destructure Property of Undefined Error in JS
The "Cannot destructure property of undefined" error occurs when we try to destructure a property from a value that is equal to `undefined`....
Read more >TypeError: Cannot destructure property 'type' of 'undefined ...
Hi, I just installed kibana 8.3.2 on a local windows 10 pc, and when starting it I get this error: Unable to complete...
Read more >TypeError: Cannot destructure property '…' of 'Object ...
Last night I spent around 3 hours trying to fix this error reading through numerous StackOverflow posts. Finally I had to sleep without...
Read more >ReferenceError: Buffer is not defined engine.io Code Example
core.js:4352 ERROR TypeError: Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'. ... Cannot destructure property 'dialog' ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
hmm, have the same thing happening with @nuxt/image module
ok. thanks