Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Npm run dev stuck at APP_URL

I created a new laravel project, installed breeze auth and ran npm install and npm run dev. But it's stuck at this screen for 15 minutes now. Nothing is moving on the terminal window.

All the commands I used was

laravel new shop
composer require laravel/breeze
php artisan breeze:install
npm install
npm run dev

Everything worked fine until npm run dev, but when I enter npm run dev command, I get this output and nothing else.

PS C:\shop> npm run dev

> dev
> vite

  vite v2.9.13 dev server running at:

  > Local: http://localhost:3000/
  > Network: use `--host` to expose

  ready in 364ms.


  Laravel v9.19.0

  > APP_URL: http://shop.test
like image 752
Kemal Özvarol Avatar asked Jan 28 '26 10:01

Kemal Özvarol


1 Answers

I used npm run build instead npm run dev. And that solved it, I guess.

like image 188
Kemal Özvarol Avatar answered Jan 30 '26 09:01

Kemal Özvarol



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!