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

Start a new Sail project using the new Starter Kits #29

Closed
wants to merge 2 commits into from

Conversation

wilsenhc
Copy link

No description provided.

@wilsenhc wilsenhc marked this pull request as draft February 25, 2025 18:08
fix: fix tests again

fix: tests

fix: finally fix all tests
@wilsenhc wilsenhc marked this pull request as ready for review February 25, 2025 18:26
@wilsenhc
Copy link
Author

wilsenhc commented Feb 25, 2025

I'm getting the following error when adding the --react, --vue or --livewire options to the Laravel Installer using the Docker Image.

My guess is that the Docker Images need to be updated with the latest version of the Laravel Installer?

I tried running this exact command:

docker run --rm \
    --pull=always \
    -v "$(pwd)":/opt \
    -w /opt \
    laravelsail/php84-composer:latest \
    bash -c "laravel new test-app --react --no-interaction && cd test-app && php ./artisan sail:install --with=mysql,redis,meilisearch,mailpit,selenium && npm install && npm run dev"

and this is the error that I get:

latest: Pulling from laravelsail/php84-composer
Digest: sha256:a2716e93e577c80bca7551126056446c1e06cb141af652ee6932537158108400
Status: Image is up to date for laravelsail/php84-composer:latest

                                        
  The "--react" option does not exist.  
                                        

new [--dev] [--git] [--branch BRANCH] [--github [GITHUB]] [--organization ORGANIZATION] [--database DATABASE] [--stack [STACK]] [--breeze] [--jet] [--dark] [--typescript] [--eslint] [--ssr] [--api] [--teams] [--verification] [--pest] [--phpunit] [--prompt-breeze] [--prompt-jetstream] [-f|--force] [--] <name>

exit status 1

@taylorotwell taylorotwell marked this pull request as draft February 25, 2025 18:59
@taylorotwell
Copy link
Member

Thanks for sending this over. We may deprecate this way of installing Sail. It has gotten a bit painful to maintain multi-arch Docker images vs. letting people just install / use Sail post Laravel app creation.

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

Successfully merging this pull request may close these issues.

2 participants