2016-11-06 84 views
1

我每次我试图创建laravel项目不能创建laravel使用

Writing lock file 
Generating autoload files 
> Illuminate\Foundation\ComposerScripts::postUpdate 
> php artisan optimize 


[BadMethodCallException]  
Method after does not exist. 


Script php artisan optimize handling the post-update-cmd event returned with error code 1 
+0

显然这与新遗物有关...请参阅https://laracasts.com/discuss/channels/laravel/badmethodcallexception-with-message-method-after-does-not-exist?page=1 – Sherif

回答

0

我有同样的问题时得到这个错误5.3项目。

问题由newrelic引起。

尝试卸载newrelic代理暂时错误应该消失。