I commiited a laravel project through my github from office PC.It worked nicely there , but when i want to run the same project from my laptop , it shows error.I cloned the project through github..the error message was:
Warning: require(E:\xampp\htdocs\design\laravel\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in E:\xampp\htdocs\design\la ravel\bootstrap\autoload.php on line 17
Fatal error: require(): Failed opening required'E:\xampp\htdocs\design\laravel\bootstrap/../vendor/autoload.php' (include_path='.;E:\xampp\php\PEAR') in E:\xam pp\htdocs\design\laravel\bootstrap\autoload.php on line 17
Hey geetroot, when you clone a project from github, it usually does not come with the vendor
folder. Make sure you run composer update
and composer dump-autoload
to download the necessary packages listed on your composer.json file.
If you do not have composer installed, check their documentation.. Make sure you also have PHP installed.
Let us know if this helps you.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community