Skip to content
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

ERROR Cannot start nuxt: Cannot destructure property 'Server' of '_engineIo.default' as it is undefined. #15557

Closed
patrickkabwe opened this issue Nov 20, 2022 · 6 comments

Comments

@patrickkabwe
Copy link

patrickkabwe commented Nov 20, 2022

Environment


  • 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.

image

image

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. "".

image

Additional context

No response

Logs

No response

@sharkfin009
Copy link

hmm, have the same thing happening with @nuxt/image module

@SuleymanQ
Copy link

I have the same problem.

@manniL
Copy link
Member

manniL commented Nov 29, 2022

Hey! Can someone please provide an actual reproduction? 🙏

@SuleymanQ
Copy link

@manniL
Copy link
Member

manniL commented Nov 29, 2022

Let's track this in #15363

@manniL manniL closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2022
@SuleymanQ
Copy link

ok. thanks

@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants