2016-11-06 85 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代理暫時錯誤應該消失。