framework icon indicating copy to clipboard operation
framework copied to clipboard

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

Open patrickkabwe opened this issue 3 years ago • 1 comments

Environment


  • Operating System: Windows_NT
  • Node Version: v16.18.0
  • Nuxt Version: 3.0.0
  • Nitro Version: 1.0.0
  • Package Manager: [email protected]
  • 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

patrickkabwe avatar Nov 20 '22 13:11 patrickkabwe