igaster / laravel-theme

Theme support for Laravel
MIT License
520 stars 113 forks source link

Laravel 11. Choice question must have at least 1 choice available. #146

Closed aa-hridoy closed 1 month ago

aa-hridoy commented 2 months ago

php artisan theme:create

Give theme name::

demo

Where will views be located? [demo]:

demo

Where will assets be located? [demo]:

demo

Extends an other theme? (yes/no) [no]:

y

LogicException

Choice question must have at least 1 choice available.

at vendor/symfony/console/Question/ChoiceQuestion.php:38 34▕ private array $choices, 35▕ mixed $default = null, 36▕ ) { 37▕ if (!$choices) { ➜ 38▕ throw new \LogicException('Choice question must have at least 1 choice available.'); 39▕ } 40▕ 41▕ parent::__construct($question, $default); 42▕

  +15 vendor frames 

16 artisan:13 Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))