webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

vite server failed

Open Brolly0204 opened this issue 2 months ago • 0 comments

Describe the bug

concurrently "npm run dev" "npm run test"

[0] [0] > dev [0] > vite [0] [1] [1] > test [1] > vitest --environment jsdom [1] [0] failed to load config from /home/projects/saarkskx--run/vite.config.ts [0] error when starting dev server: [0] Error: The service was stopped [0] at eval (/home/projects/saarkskx--run/node_modules/esbuild/lib/main.js:1337:25) [0] at eval (/home/projects/saarkskx--run/node_modules/esbuild/lib/main.js:666:9) [0] at Socket.afterClose (/home/projects/saarkskx--run/node_modules/esbuild/lib/main.js:644:7) [0] at Socket.emit (node:events:30:11150) [0] at endReadableNT (node:internal/streams/readable:230:10631) [0] at processTicksAndRejections (node:internal/process/task_queues:196:1067) [0] at (https://saarkskxrun-dhyq.w-corp-staticblitz.com/blitz.96435430.js:31:295831) [0] at _0x1eb571 (https://saarkskxrun-dhyq.w-corp-staticblitz.com/blitz.96435430.js:31:295912) [0] at _0x8ffaf9 (https://saarkskxrun-dhyq.w-corp-staticblitz.com/blitz.96435430.js:31:545830) [0] at Object.finish (https://saarkskxrun-dhyq.w-corp-staticblitz.com/blitz.96435430.js:31:542607) [0] npm run dev exited with code 1 [1] failed to load config from /home/projects/saarkskx--run/vite.config.ts [1] [1] ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ [1] Error: The service was stopped [1] at eval (/home/projects/saarkskx--run/node_modules/esbuild/lib/main.js:1337:25) [1] at eval (/home/projects/saarkskx--run/node_modules/esbuild/lib/main.js:666:9) [1] at Socket.afterClose (/home/projects/saarkskx--run/node_modules/esbuild/lib/main.js:644:7) [1] at Socket.emit (node:events:30:11150) [1] at endReadableNT (node:internal/streams/readable:230:10631) [1] at processTicksAndRejections (node:internal/process/task_queues:196:1067) [1] at (https://saarkskxrun-dhyq.w-corp-staticblitz.com/blitz.96435430.js:31:295831) [1] at _0x1eb571 (https://saarkskxrun-dhyq.w-corp-staticblitz.com/blitz.96435430.js:31:295912) [1] at _0x8ffaf9 (https://saarkskxrun-dhyq.w-corp-staticblitz.com/blitz.96435430.js:31:545830) [1] at Object.finish (https://saarkskxrun-dhyq.w-corp-staticblitz.com/blitz.96435430.js:31:542607) [1] [1] [1] [1] npm run test exited with code 1

Link to the blitz that caused the error

https://stackblitz.com/run?file=App.vue

Steps to reproduce

npm run dev

Expected behavior

npm run dev

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 141.0.0.0
Major version = 141
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0
performance.memory = {
  "totalJSHeapSize": 194930940,
  "usedJSHeapSize": 180898888,
  "jsHeapSizeLimit": 4294705152
}
Hash = 96435430

Additional context

No response

Brolly0204 avatar Oct 12 '25 13:10 Brolly0204