tighten/lambo

VITE interrupts Lambo - Lambo can't create Starter-Kits any more (Breeze + Jetstream)

camya opened this issue · 3 comments

camya commented

Lambo can't create Starter-Kits any more (Breeze + Jetstream)

Problem: Vite does not exit after "npm run dev" and watches for changes. (With Laravel Mix this wasn't a problem)

Example: lambo new demoproject --breeze=blade

Before Vite was added to Laravel, "npm run dev" exited automatically after building. Lambo then created the database, executed the after scripts, aso.

Unfortunately, Lambo now stops after "npm run dev" completely because it's behaving like "npm run watch".

// ...
// Customizing .env and .env.example
// Setting APP_KEY in .env
// Installing Laravel Breeze starter kit
EXEC  cd /Users/camya/Development/valet/laravel-sites/demoproject/demoproject && php artisan breeze:install --quiet
EXEC  cd /Users/camya/Development/valet/laravel-sites/demoproject/demoproject && npm install --silent
EXEC  cd /Users/camya/Development/valet/laravel-sites/demoproject/demoproject && npm run dev --silent
!!!! CODE EXECUTION STOPS HERE !!!!

duplicate of #174, fixed in #175.

See, #174 (comment)

camya commented

@jonsugar Missed this. Sorry for the repost.

One suggestion. Can you update the Lambo documentation and point to the 3.0 version under Installation.

composer global require tightenco/lambo:^3.0

At the moment, all new users will install the ^2.0, because this version is mentioned in the documentation.

@camya Weird, I was sure I had updated the docs.

Thanks for the heads-up.