Home > OS >  NPM RUN DEV Freezing
NPM RUN DEV Freezing

Time:08-24

I am trying to install laravel and breeze. Everything goes fine up to npm install. But when I run npm dev it freezes and nothing else happens. Below is what it says when it stops:

VITE v3.0.9  ready in 1434 ms

  ➜  Local:   http://127.0.0.1:5176/
  ➜  Network: use --host to expose

  LARAVEL v9.25.1  plugin v0.5.4

  ➜  APP_URL: http://localhost

Please! How do I resolve this?

UPDATE: After running npm build, npm run dev still freezes. Below is the code.

npm run build

> build     
> vite build

vite v3.0.9 building for production...
✓ 119 modules transformed.
public/build/manifest.json             0.25 KiB
public/build/assets/app.c090eeea.css   186.93 KiB / gzip: 26.55 KiB
public/build/assets/app.aac2dc08.js    170.64 KiB / gzip: 57.15 KiB

amand@Amanda MINGW64 /c/laragon/www/patinoire
$ npm run dev

> dev
> vite

Port 5173 is in use, trying another one...
Port 5174 is in use, trying another one...

  VITE v3.0.9  ready in 1043 ms

  ➜  Local:   http://127.0.0.1:5175/
  ➜  Network: use --host to expose

  LARAVEL v9.25.1  plugin v0.5.4

  ➜  APP_URL: http://localhost

CodePudding user response:

Follow these steps

  1. Download Node.js installer from https://nodejs.org/en/download/

  2. Install Node.js and NPM

CodePudding user response:

try

npm run build

npm run dev

i think it will work

  • Related