Search code examples
laravelnpmbreeze

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

Solution

  • Laravel version 9.19.0 replaced Mixer with Vite for more information check Bundling Assets (Vite)

    if you want to work mixer install Laravel version /= 9.1.0

    composer create-project Laravel/Laravel app_name 9.1.0