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



Popular posts from this blog

Contoh Inheritance (Pewarisan) di Java

Contoh Penerapan Interface di Pemrograman Java

Deploy CodeIgniter 3 di Docker