spbaniya's avatar

Vite Breeze build still using Vite server local URL

Hello I’m using breeze, vite and vue setup from starter-kit for laravel app setup. While developing, I ran vite server and php server

But after running npm run build which in turns run vite build the assets build successfully When I try to run only php application, I get following error

GET http://127.0.0.1:5173/@vite/client net::ERR_CONNECTION_REFUSED GET http://127.0.0.1:5173/resources/js/app.js net::ERR_CONNECTION_REFUSED

Can anyone suggest me what I’m doing wrong here? for the production build why is it asking for vite port

0 likes
2 replies
Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

My guess is that you didn't stop vite correctly. This will leave a file named 'hot' in your public directory. Delete it and it should work

5 likes

Please or to participate in this conversation.