【发布时间】:2015-07-02 19:59:45
【问题描述】:
将 Laravel 项目从 5.0 升级到 5.1.x 后,我无法正确运行 composer update。 该应用程序本身运行良好,没有问题,但需要作曲家才能工作。
这是我在运行 sudo composer update 后收到的错误
[LogicException]
The command defined in "Illuminate\Database\Console\Migrations\MigrateMakeCommand" cannot have an empty name.
Script php artisan clear-compiled handling the pre-update-cmd event returned with an error
[RuntimeException]
Error Output:
在尝试调试文件Illuminate\Database\Console\Migrations\MigrateMakeCommand 时,我找不到任何明显的错误。
任何帮助将不胜感激。
【问题讨论】:
-
我在升级到 5.1 时收到了同样的错误。我的问题是php版本,它必须是
>= 5.5.9。 -
@user2094178 谢谢...不过我使用的是 5.6.2