You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Nuxt 5 nightly dev serves 500: impound blocks dev-close-sockets.mjs #1579
Run pnpm install && CI=1 pnpm run dev, then request http://localhost:3000/.
Actual result
The CLI prints Ready, but the page returns HTTP 500. The dev log reports:
Error: This module cannot be imported in server runtime.
[importing `@nuxt/cli-nightly/runtime/dev-close-sockets.mjs` from `#nitro/virtual/plugins`]
Suggestions:
- These are build-time only packages and cannot be used at runtime.
The error comes from impound through Vite's vite:import-analysis. The generated #nitro/virtual/plugins module imports @nuxt/cli-nightly/runtime/dev-close-sockets.mjs.
I reproduced this in a fresh temporary project with no Nuxt modules or application logic. It also occurred in an app with @nuxtjs/i18n, but i18n is not required to trigger it.
Expected result
nuxt dev should serve the minimal welcome page with HTTP 200.
Possibly related: #1570 added runtime/dev-close-sockets.mjs to the CLI. Its linked issue #1531 concerns shutdown, whereas this is a startup/server runtime import failure.
Activity
danielroe commentedon Sep 29, 2026
I think this is already resolved in nuxt/nuxt@7758942