Closed oliverhildner closed 3 months ago
Steps I followed from the themes directory:
composer create-project roots/sage
cd sage && composer require roots/acorn && yarn && yarn build && wp theme activate sage && wp acorn acorn:install
acorn:install
promptscomposer require spatie/laravel-ignition --dev
wp acorn optimize:clear
Then I added a {{ $hello }}
to a template:
Feel free to create a topic on Roots Discourse if you need additional help, but there doesn't appear to be any issues with our docs that outline these steps
Version
4.3
What did you expect to happen?
I installed Laravel Ignition as described in the documentation:
$ composer require spatie/laravel-ignition --dev
$ wp acorn optimize:clear
from a sage-theme folder. From that moment on,wp acorn optimize:clear
throws an exception.What actually happens?
wp acorn optimize:clear throws an exception: Declaration of Illuminate\Console\Application::add(Symfony\Component\Console\Command\Command $command) must be compatible with Symfony\Component\Console\Application::add(Symfony\ Component\Console\Command\Command $command): ?Symfony\Component\Console\Command\Command
Steps to reproduce
System info
macOS 14.5 - Docker environment Php 8.3
Log output
No response
Please confirm this isn't a support request.
Yes