PHP Artisan Tinker not working with Laravel 5.5.16

2019-03-01 09:50发布

问题:

I run php artisan tinker but it didn't work it just show a message like this

c:\xampp\htdocs\app_tpa>php artisan tinker

[ErrorException] rmdir(C:\Users\KIMUNG~1\AppData\Local\Temp\php-xdg-runtime-dir-fallback-): Directory not empty

I tried to run composer require laravel/tinker, but it doesn't fix my problem

回答1:

This issue is now resolved as per these github issues:

laravel/tinker#29

bobthecow/psysh#430

The proper solution now is to do composer update