Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
camya opened this issue Sep 12, 2022 · 3 comments

Comments

@camya
Copy link

camya commented Sep 12, 2022

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 !!!!
@jonsugar
Copy link
Collaborator

duplicate of #174, fixed in #175.

See, #174 (comment)

@camya
Copy link
Author

camya commented Sep 12, 2022

@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.

@jonsugar
Copy link
Collaborator

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

Thanks for the heads-up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants