Skip to content

App crashing in production when used with i18n and nitro websocket #511

@larsrickert

Description

@larsrickert

Hey, when using nuxt-auth-utils with Nitro websockets (config nitro.experimental.websocket) and the Nuxt i18n module, the app crashes with a 500 error when building it and starting it in production mode (with node .output/server/index.mjs). Removing nuxt-auth-utils fixes the issue. Weirdly, running in dev mode works just fine.

Do you have any idea what's the issue here?

Here is a minimal reproduction issue: https://stackblitz.com/edit/nuxt-starter-w6r6dtrt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions