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

后端 未结 14 2124
孤街浪徒
孤街浪徒 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:44

    I got the same problem in Win 8 and solve it:

    Here is the steps.

    Step-1: Go to your project directory

    Step-2: And type command cd bootstrap/cache/

    Step-3: Again type command del -rf *.php

    Step-4: Update your composer composer update

    Step-5: Now you are done: php artisan serve

    Thanks.

提交回复
热议问题