#server launches then throws ^C and Failed to start notification in VSCode

1 messages · Page 1 of 1 (latest)

scenic yew
#

This is driving me nuts.

The Vite server starts without showing errors in the terminal.
The server properly serves pages for about 30 seconds.
Then a '^C' shows in the terminal, killing the server process, an instant before a VS Code notification saying "! Failed to start the server."

Note: This happens whenever the server auto-starts with VS Code or when using the "Start Vite server" or "Restart Vite server" commands in VS Code's Command Palette

Note: It does NOT happen when I launch the server manually with "npx vite" in the terminal.

I'm new to Vite and relatively new to VS Code, but I love both other than this little issue! It really has me stumped.

rustic radish
#

I would check the vite vs code repos and see if there are any reported issues then report it if need be.. otherwise just start it from the cli