Posts

Showing posts from September, 2022

Laravel Breeze : npm run dev not Running

Image
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

Composer : Your requirements could not be resolved to an installable set of packages

Image
I cannot install laravel/breeze for my Laravel project using composer, I got this error " Your requirements could not be resolved to an installable set of packages ... " I wonder how to solved this problem. I think the reason is my project contains old libraries, so I try to update my project by executing  composer update command.    It looks good, then I re-execute this command :  composer require laravel/breeze --dev Now laravel breeze can installed normally. I suggest you to maintain / update your project's framework and it's libraries regularly, it can prevent you from headache when installing new dependencies.