[vite] failed to connect to websocket (Error: WebSocket closed without opened.)

Types:

Sources:

cancel

4

warning

1

info

29

11:39:07.882

System

Build

Render Start

11:39:08.157

Backend

Log

Server restarting…

11:39:08.158

Backend

Log

Server stopped.

11:39:08.158

Backend

Log

Server started on port 3000.

11:39:08.158

Backend

Log

Pre-warming 1 paths…

react-example@0.0.0 dev

tsx server.ts --port 3000 --host 0.0.0.0

◇ injected env (0) from .env // tip: ◈ secrets for agents [www.dotenvx.com]

(!) Your Vite config uses features that are unsupported by `configLoader: ‘native’`, which is planned to become the default in a future major version of Vite:

- \`\__dirname\` (vite.config.ts:11:27). Use \`import.meta.dirname\` instead

Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.

PulseGather full-stack server running on htt

11:39:08.158

Backend

Log

Pre-warming completed.

11:39:08.362

Backend

Log

CONNECTED

11:39:08.658

Backend

Log

Starting build…

11:39:08.902

Backend

Log

react-example@0.0.0 build

11:39:08.902

Backend

Log

vite build

11:39:09.516

System

Build

Render End

11:39:09.620

Backend

Log

(!) Your Vite config uses features that are unsupported by `configLoader: ‘native’`, which is planned to become the default in a future major version of Vite:

11:39:09.621

Backend

Log

  • `__dirname` (vite.config.ts:11:27). Use `import.meta.dirname` instead

11:39:09.621

Backend

Log

Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.

11:39:09.621

Backend

Log

vite v8.3.4 building client environment for production…

11:39:09.621

Backend

Log

transforming…

11:39:09.839

App

Debug

[vite] connecting…

11:39:10.311

Backend

Log

✓ 1679 modules transformed.

11:39:10.442

Backend

Log

rendering chunks…

11:39:10.575

Backend

Log

computing gzip size…

11:39:10.575

Backend

Log

dist/index.html 1.58 kB │ gzip: 0.71 kB

11:39:10.575

Backend

Log

dist/assets/index-BMwkgNLs.css 91.40 kB │ gzip: 18.11 kB

11:39:10.576

Backend

Log

dist/assets/index-BagtDHQQ.js 597.82 kB │ gzip: 166.52 kB

11:39:10.576

Backend

Log

[plugin builtin:vite-reporter]

11:39:10.576

Backend

Log

(!) Some chunks are larger than 500 kB after minification. Consider:

11:39:10.576

Backend

Log

  • Using dynamic import() to code-split the application

11:39:10.576

Backend

Log

  • Use build.rolldownOptions.output.codeSplitting to more hooks than during the previous render.

11:41:34.834

App

Warning

%s