Laravel error in /bootstrap/start.php: \Illuminate\Foundation\Application not found

后端 未结 5 1391
有刺的猬
有刺的猬 2021-02-08 21:53

So, I installed Laravel on a dev server (php5.5.3, standard installation, mcrypt installed), and I get the following error message:

Fatal error: Class \'Illumina         


        
5条回答
  •  醉话见心
    2021-02-08 22:18

    Run this command:

    composer update --no-scripts
    

    In my case I have added another required package(Guzzle) in the compser.json file separately(in the last line but it should be after the laravel package line) and updated the compsoser and came across this issue.

    I have checked and my vendor/laravel folder has gone. That was preventing me to run any artisian command.

    So "--no-scripts" worked for me as it prevents any scripts to be included before executing artisan.

    You can use another method in case you are having issues.

    1. Install another raw laravel and copy all the files from the vendor file to your old repostory.
    2. Change permission of storage and bootstrap folder to 775 or 777.
    3. Delete everything in the session and view folder of storage/framework

提交回复
热议问题