require(vendor/autoload.php): failed to open stream

前端 未结 16 1437
梦毁少年i
梦毁少年i 2020-11-29 18:02

I know that this issue has been posted many times, but for me it seems to be a different problem.

Indeed, this error

Warning: require(vendor/autol

16条回答
  •  借酒劲吻你
    2020-11-29 18:11

    If you have cloned your project from Github or got it from somewhere else, you will encounter this error. That's because you are missing the vendor folder and other files. The vendor folder contains packages which are dependent to your project. The package dependencies are stored in composer.json file and the folder was excluded while pushing to Github.

    Fix this error by simply running:

    composer install

    Then you will get all the assets needed for your project.

提交回复
热议问题