简体   繁体   中英

Laravel home page not loading

While typing https://deepdivecms.test/ in Chrome it returns the following error

Warning: require(/home/vagrant/Code/deepdivecms/public/../vendor/autoload.php): failed to open stream: No such file or directory in /home/vagrant/Code/deepdivecms/public/index.php on line 24 Call Stack

Time Memory Function Location

1 0.0011 392400 {main}( ) .../index.php:0

Fatal error: require(): Failed opening required '/home/vagrant/Code/deepdivecms/public/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/vagrant/Code/deepdivecms/public/index.php on line 24

in my homestead.yaml file, I have put

sites: - map: deepdivecms.test to: /home/vagrant/Code/deepdivecms/public

Also in the host file i have updated

192.168.10.10 deepdivecms.test

Run composer install . If that doesn't work, try composer dump-autoload to generate your autoload classmap.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM