Describe the bug
I have created brand new repo with https://github.com/nuxt-content/docus and migrated it to vite-plus using vp migrate. Right after migration, running vp run dev, the dev server crashes on start with the following log:
juhas@juhaas:~/src/dn-juhaas$ vp run dev
VITE+ - The Unified Toolchain for the Web
$ nuxt dev ⊘ cache disabled
│ 11:35:42 AM
● Nuxt 4.4.8 (with Nitro 2.13.4, Vite 0.2.2 and Vue 3.5.39)
11:35:42 AM
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
➜ DevTools: press Shift + Alt + D in the browser (v3.2.4) 11:35:43 AM
ℹ Nuxt Icon server bundle mode is set to local 11:35:44 AM
✔ /mcp enabled with 2 tools @nuxtjs/mcp-toolkit 11:35:44 AM
✔ Nuxt Icon loaded local collection custom with 0 icons nuxt:icon 11:35:44 AM
✔ Nuxt Icon loaded local collection custom with 1 icons nuxt:icon 11:35:44 AM
ℹ Nuxt Icon client bundle consist of 1 icons with 1.12KB(uncompressed) in size 11:35:44 AM
✔ Vite client built in 64ms 11:35:45 AM
✔ Vite server built in 19ms 11:35:45 AM
✔ Nuxt Nitro server built in 3524ms nitro 11:35:49 AM
ℹ Vite server warmed up in 30ms 11:35:49 AM
ℹ Vite client warmed up in 31ms 11:35:49 AM
[nuxt 11:35:49 AM] WARN Using vite.config.ts is not supported together with Nuxt. Use options.vite instead. You can read more in https://nuxt.com/docs/4.x/api/nuxt-config#vite.
ERROR [uncaughtException] server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration 11:36:02 AM
at WebSocketServer.completeUpgrade (node_modules/.pnpm/@voidzero-dev+vite-plus-core@0.2.2_@types+node@26.1.0_esbuild@0.28.1_jiti@2.7.0_terser@_9d71b72779cd636215a89380b61758f0/node_modules/@voidzero-dev/vite-plus-core/dist/vite/node/chunks/node.js:21218:34)
at WebSocketServer.handleUpgrade (node_modules/.pnpm/@voidzero-dev+vite-plus-core@0.2.2_@types+node@26.1.0_esbuild@0.28.1_jiti@2.7.0_terser@_9d71b72779cd636215a89380b61758f0/node_modules/@voidzero-dev/vite-plus-core/dist/vite/node/chunks/node.js:21201:9)
at handleUpgrade (node_modules/.pnpm/@voidzero-dev+vite-plus-core@0.2.2_@types+node@26.1.0_esbuild@0.28.1_jiti@2.7.0_terser@_9d71b72779cd636215a89380b61758f0/node_modules/@voidzero-dev/vite-plus-core/dist/vite/node/chunks/node.js:21479:7)
at Server.hmrServerWsListener (node_modules/.pnpm/@voidzero-dev+vite-plus-core@0.2.2_@types+node@26.1.0_esbuild@0.28.1_jiti@2.7.0_terser@_9d71b72779cd636215a89380b61758f0/node_modules/@voidzero-dev/vite-plus-core/dist/vite/node/chunks/node.js:21496:88)
at Server.emit (node:events:521:24)
at onParserExecuteCommon (node:_http_server:1042:14)
at onParserExecute (node:_http_server:946:3)
Reproduction
I was not able to create reproduction in stackblitz due to not being able to install viteplus, so this is my reproduction: https://github.com/branislavjuhaas/dn-juhaas/tree/v3
Steps to reproduce
Run vp i and vp run dev
System Info
VITE+ - The Unified Toolchain for the Web
Environment:
Version 24.18.0
Source lts
Tool Paths:
node /home/juhas/.vite-plus/js_runtime/node/24.18.0/bin/node
npm /home/juhas/.vite-plus/js_runtime/node/24.18.0/bin/npm
npx /home/juhas/.vite-plus/js_runtime/node/24.18.0/bin/npx
Package Manager:
Name pnpm
Version 11.10.0
Source devEngines.packageManager
Source Path /home/juhas/src/dn-juhaas/package.json
Project Root /home/juhas/src/dn-juhaas
Bin Path /home/juhas/.vite-plus/package_manager/pnpm/11.10.0/pnpm/bin/pnpm
vp v0.2.2
Local vite-plus:
vite-plus v0.2.2
Tools:
vite v8.1.2
rolldown v1.1.4
vitest v4.1.9
oxfmt v0.57.0
oxlint v1.72.0
oxlint-tsgolint v0.24.0
tsdown v0.22.3
Environment:
Package manager pnpm v11.10.0
Node.js v24.18.0
Used Package Manager
pnpm
Logs
Validations
Describe the bug
I have created brand new repo with https://github.com/nuxt-content/docus and migrated it to vite-plus using
vp migrate. Right after migration, runningvp run dev, the dev server crashes on start with the following log:Reproduction
I was not able to create reproduction in stackblitz due to not being able to install viteplus, so this is my reproduction: https://github.com/branislavjuhaas/dn-juhaas/tree/v3
Steps to reproduce
Run
vp iandvp run devSystem Info
VITE+ - The Unified Toolchain for the Web Environment: Version 24.18.0 Source lts Tool Paths: node /home/juhas/.vite-plus/js_runtime/node/24.18.0/bin/node npm /home/juhas/.vite-plus/js_runtime/node/24.18.0/bin/npm npx /home/juhas/.vite-plus/js_runtime/node/24.18.0/bin/npx Package Manager: Name pnpm Version 11.10.0 Source devEngines.packageManager Source Path /home/juhas/src/dn-juhaas/package.json Project Root /home/juhas/src/dn-juhaas Bin Path /home/juhas/.vite-plus/package_manager/pnpm/11.10.0/pnpm/bin/pnpm vp v0.2.2 Local vite-plus: vite-plus v0.2.2 Tools: vite v8.1.2 rolldown v1.1.4 vitest v4.1.9 oxfmt v0.57.0 oxlint v1.72.0 oxlint-tsgolint v0.24.0 tsdown v0.22.3 Environment: Package manager pnpm v11.10.0 Node.js v24.18.0Used Package Manager
pnpm
Logs
Validations