Skip to content

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

@patrickkabwe

Description

@patrickkabwe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions