一旦我尝试编写更新,Laravel 5.0就会中断

时间:2016-04-11 16:00:58

标签: php laravel laravel-5 composer-php homestead

我的Laravel 5.0.34项目运行得非常好,但最近我不得不安装另一个插件并在我尝试运行时意识到这一点

composer update

在我的根目录中,它会给出错误

Script php artisan optimize handling the post-update-cmd event returned with an error

我已经尝试删除了composer.json的post-update-cmd部分,但所有这一切都是为了消除命令行弹出的错误。当我尝试显示项目时,它仍然会出错。

我也尝试删除storage/framework/compiled,但发现我没有该文件/目录

这个人似乎有同样的问题,但他们的修复都没有对我有用

http://laravel.io/forum/03-25-2015-composer-update-throwing-error-script-php-artisan-optimize-handling-the-post-update-cmd-event-returned-with-an-error

非常感谢任何帮助!

0 个答案:

没有答案