Laravel Breeze : npm run dev not Running

I run npm run dev inside my old project after install Laravel breeze, but it seems not run as I expected.

Instead of running vite build, the output show that it compiled and stop. It never happened in my current Laravel project.

After re-scroll the terminal's output, I just figured that it missing script build in npm.

I try to look my other Laravel project, inside package.json I found that it has some vite related build script and vite dependency.

I try to copy that vite related script and it's dependencies to my Laravel project, here is my old package.json file

and here is the updated version of my package.json

k

Comments

Post a Comment

Popular posts from this blog

Contoh Inheritance (Pewarisan) di Java

Review Singkat Pilihan Transportasi Umum Rute Solo - Wonosobo

Physical address dan Logical Address dalam Jaringan Komputer