我正在尝试使用Laravel 9和ReactJS与vite js构建应用程序。我尝试使用以下命令构建。
npm run dev
但是我得到以下错误,
GET http://[::1]:5173/resources/css/app.css net::ERR_CONNECTION_REFUSED
GET http://[::1]:5173/@vite/client net::ERR_CONNECTION_REFUSED
GET http://[::1]:5173/resources/js/app.jsx net::ERR_CONNECTION_REFUSED
GET http://[::1]:5173/@react-refresh net::ERR_CONNECTION_REFUSED
npm run dev
但是我得到以下错误,
GET http://[::1]:5173/resources/css/app.css net::ERR_CONNECTION_REFUSED
GET http://[::1]:5173/@vite/client net::ERR_CONNECTION_REFUSED
GET http://[::1]:5173/resources/js/app.jsx net::ERR_CONNECTION_REFUSED
GET http://[::1]:5173/@react-refresh net::ERR_CONNECTION_REFUSED