PHP Artisan Tinker无法与Laravel 5.5.16一起使用 [英] PHP Artisan Tinker not working with Laravel 5.5.16

查看:137
本文介绍了PHP Artisan Tinker无法与Laravel 5.5.16一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行php artisan tinker,但是它没有用,只是显示了这样的消息

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-):目录不为空

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

我尝试运行composer require laravel/tinker,但不能解决我的问题

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

推荐答案

此问题现已通过以下github问题解决:

This issue is now resolved as per these github issues:

laravel/tinker#29

bobthecow/psysh#430

现在正确的解决方案是执行composer update

The proper solution now is to do composer update

这篇关于PHP Artisan Tinker无法与Laravel 5.5.16一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆