-
Notifications
You must be signed in to change notification settings - Fork 131
Tinker broken in laravel 9.0.0 #142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Seems like this is a breaking change in Symfony Console's v5.4.3 release. It works for me with v5.4.2. Can you post an issue report on their tracker? |
done β¬οΈ , btw, is |
it's a required dependency of Laravel yeah |
For people encountering the same issue, pinning symfony/console to 6.0.2 can be used a temporary workaround while a new 6.x release of symfony/console gets published. |
It's broken in the latest point releases of Symfony 4.4, 5.3, 5.4, and 6.0. You can fix any of them by pinning to one version back. |
It is still broken for me. Even unable to Laravel v9.0.2 Everything is on their latest version. symfony/symfony#45240 |
6.0.3 is the one that has the bug, you/we need to wait the next point release |
If you explicitly require symfony/console v6.0.2 it will fix it. Otherwise you need to wait for the next release. I believe it'll be in a week or so? |
Description:
Seems like tinker is broken in laravel 9.
Bootstrapping a new laravel 9.0.0 project via sail, launching
./artisan tinker
followed byhelp
results inRuntimeException with message 'Too many arguments, expected arguments "command" "command_name".'
Issuing
ls
results in:InvalidArgumentException with message 'Unknown namespace, class or function: s'
Steps To Reproduce:
curl -s "https://laravel.build/sail9" | bash
cd sail9 && ./vendor/bin/sail up -d
./vendor/bin/sail shell
The text was updated successfully, but these errors were encountered: