Laravel 5 Failed opening required bootstrap/../vendor/autoload.php

Scott picture Scott · Feb 12, 2015 · Viewed 468.1k times · Source

I have recently installed Laravel 5 via composer. I tried creating a new controller using artisan and I get the following error:

bootstrap/../vendor/autoload.php. Failed to open stream: No such file or directory. The "vendor" folder does not exist.

Am I missing something?

Answer

Shubhamoy picture Shubhamoy · Apr 4, 2016

Run composer with --no-scripts

composer update --no-scripts  

This shall fix the issue. I tried this on Mac and Linux.