You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd [project-name]
npm install
npm run build
composer run dev
Log Output
npx concurrently -c "#93c5fd,#c4b5fd,#fb7185,#fdba74" "php artisan serve" "php artisan queue:listen --tries=1" "php artisan pail" "npm run dev" --names=server,queue,logs,vite
[queue]
[queue] INFO Processing jobs from the [default] queue.
[queue]
[logs]
[logs] RuntimeException
[logs]
[logs] The [pcntl] extension is required to run Pail.
[logs]
[logs] at vendor\laravel\pail\src\Guards\EnsurePcntlIsAvailable.php:15
[logs] 11▕ */
[logs] 12▕ public static function check(): void
[logs] 13▕ {
[logs] 14▕ if (! function_exists('pcntl_fork')) {
[logs] ➜ 15▕ throw new RuntimeException('The [pcntl] extension is required to run Pail.');
[logs] 16▕ }
[logs] 17▕ }
[logs] 18▕ }
[logs] 19▕
[logs]
[logs] 1 vendor\laravel\pail\src\Console\Commands\PailCommand.php:46
[logs] Laravel\Pail\Guards\EnsurePcntlIsAvailable::check()
[logs]
[logs] 2 vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:36
[logs] Laravel\Pail\Console\Commands\PailCommand::handle(Object(Laravel\Pail\ProcessFactory))
[logs]
[logs] php artisan pail exited with code 1
[server] Failed to listen on 127.0.0.1:8000 (reason: ?)
[server] Failed to listen on 127.0.0.1:8001 (reason: ?)
[vite]
[vite] > dev
[vite] > vite
[vite]
[server] Failed to listen on 127.0.0.1:8002 (reason: ?)
[vite] 'vite' n’est pas reconnu en tant que commande interne
[vite] ou externe, un programme exécutable ou un fichier de commandes.
[vite] npm run dev exited with code 1
[server] Failed to listen on 127.0.0.1:8003 (reason: ?)
[server] Failed to listen on 127.0.0.1:8004 (reason: ?)
[server] Failed to listen on 127.0.0.1:8005 (reason: ?)
[server] Failed to listen on 127.0.0.1:8006 (reason: ?)
[server] Failed to listen on 127.0.0.1:8007 (reason: ?)
[server] Failed to listen on 127.0.0.1:8008 (reason: ?)
[server] Failed to listen on 127.0.0.1:8009 (reason: ?)
[server] Failed to listen on 127.0.0.1:8010 (reason: ?)
[server] php artisan serve exited with code 1
The text was updated successfully, but these errors were encountered:
Laravel Project Setup Log and Issues
Installation Steps
Installed Composer, PHP, and Laravel Installer using the following command (Windows):
Created a new Laravel project using:
Selected the following options during setup:
Ran the following commands to complete the setup:
cd [project-name] npm install npm run build composer run dev
Log Output
The text was updated successfully, but these errors were encountered: