我是用本機 laradock 環境
root@bcaff282ab93:/var/www# /root/.config/composer/vendor/bin/laravel --version
Laravel Installer 5.28.1
root@bcaff282ab93:/var/www# /root/.config/composer/vendor/bin/laravel new example-app
██╗ █████╗ ██████╗ █████╗ ██╗ ██╗ ███████╗ ██╗
██║ ██╔══██╗ ██╔══██╗ ██╔══██╗ ██║ ██║ ██╔════╝ ██║
██║ ███████║ ██████╔╝ ███████║ ██║ ██║ █████╗ ██║
██║ ██╔══██║ ██╔══██╗ ██╔══██║ ╚██╗ ██╔╝ ██╔══╝ ██║
███████╗ ██║ ██║ ██║ ██║ ██║ ██║ ╚████╔╝ ███████╗ ███████╗
╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ ╚══════╝ ╚══════╝
┌ Which starter kit would you like to install? ────────────────┐
│ React │
└──────────────────────────────────────────────────────────────┘
┌ Which authentication provider do you prefer? ────────────────┐
│ Laravel's built-in authentication │
└──────────────────────────────────────────────────────────────┘
┌ Would you like to add teams support to your application? ────┐
│ Yes │
└──────────────────────────────────────────────────────────────┘
┌ Which testing framework do you prefer? ──────────────────────┐
│ Pest │
└──────────────────────────────────────────────────────────────┘
┌ Do you want to install Laravel Boost to improve AI assisted coding? ┐
│ Yes │
└─────────────────────────────────────────────────────────────────────┘
• Creating Laravel application
✔ Application installed
✔ Application initialized
┌ Which authentication features would you like to enable? ─────┐
│ Email verification │
│ Registration │
│ Password confirmation │
└──────────────────────────────────────────────────────────────┘
• Composer Lint
✔ composer lint
• Generate Wayfinder Resources
✔ php artisan wayfinder:generate --with-form --no-interaction
• Setting up Pest
✔ Pest installed
✔ Pest initialized
┌ Would you like to run npm install --ignore-scripts and <… ───┐
│ Yes │
└──────────────────────────────────────────────────────────────┘
• Setting up frontend dependencies with npm
✔ Packages installed
✔ Assets built
• Setting up Laravel Boost...
✘ Command failed: '/usr/bin/php8.3' artisan boost:install
✘ Error output:
Application ready in [example-app]. You can start your local development using:
➜ cd example-app
➜ composer run dev
New to Laravel? Check out our documentation. Build something amazing!