Closed jcs224 closed 2 years ago
I can't reproduce this on the latest Laravel 8.x and Tinker 2.x versions. Please run composer update
and see if the issue persists.
In case anyone else runs into this....
There was a file : ~/.config/psysh/config.php that was in the wrong format? Deleting this file removed the issue. Tinker was failing because it was trying to load an option as a string instead of array.
Description:
Can't boot Tinker in one of our environments. It must be unique to the environment, since it doesn't work with other Laravel codebases on the same server.
Steps To Reproduce:
Don't know how to reproduce since it seems to be environment-specific, but not sure. Same project works everywhere else including other Ubuntu servers and Laravel Sail. It doesn't appear to be our code because we get the same issue when creating a test project and running
php artisan tinker
in that same environment.I know this is difficult to reproduce but I would be grateful for any guidance, or where else I should take this issue. Maybe one of the dependencies needs fixing?