php artisan breeze:install Execution error

236 views Asked by At

I am new to Laravel, It's cool that there is no need to write code like how I used to write using the vanilla style instead of using a framework like Laravel.

But I do have a problem with my installation. I'm not sure how to fix it tho. Been trying googling this for a while and feeling stuck.

I tried installing Breeze on my local server, and it works fine. But with my cloud server which running Plesk. it shows an error.

Here is what I already did, I've installed these on my composer

composer require laravel/breeze --dev

Then I try to install these on command with artisan

php artisan breeze:install

Which brings the output of these

Execution /opt/plesk/php/8.2/bin/php has failed with exit code 1, stdout: Laravel\Prompts\Exceptions\NonInteractiveValidationException Required. at vendor/laravel/prompts/src/Concerns/Interactivity.php:32 28▕ 29▕ $this->validate($default); 30▕ 31▕ if ($this->state === 'error') { ➜ 32▕ throw new NonInteractiveValidationException($this->error); 33▕ } 34▕ 35▕ return $default; 36▕ } +13 vendor frames 14 artisan:35 Illuminate\Foundation\Console\Kernel::handle() , stderr:

Any thoughts?

1

There are 1 answers

0
Harshad Kanani On
  • Use the --no-interaction Flag
  • When running the php artisan breeze:install command, add the --no-interaction flag to skip interactive prompts. This can help in non-interactive environments
php artisan breeze:install --no-interaction