Script @php artisan package:discover handling the post-autoload-dump event returned with error code 255

后端 未结 14 2183
孤街浪徒
孤街浪徒 2020-12-03 05:09

I moved my project from desk to another.
When I run php artisan it does not work.

I tried to run composer update, but it returns the

14条回答
  •  天涯浪人
    2020-12-03 05:55

    If this happened after Laravel update from 6.x to 7.x, then this could be due to the update of Symfony. See the upgrade guide of this part: https://laravel.com/docs/7.x/upgrade#symfony-5-related-upgrades

提交回复
热议问题