tuupola / slim-api-skeleton

Slim 3 API skeleton project for Composer
MIT License
312 stars 62 forks source link

Missing vendor folder? #35

Closed ricardochen closed 6 years ago

ricardochen commented 6 years ago

I'm getting this error [20-Jan-2018 07:48:02 UTC] PHP Warning: require(/home/avytoqau/api4/vendor/autoload.php): failed to open stream: No such file or directory in /home/avytoqau/api4/app.php on line 20 [20-Jan-2018 07:48:02 UTC] PHP Warning: require(/home/avytoqau/api4/vendor/autoload.php): failed to open stream: No such file or directory in /home/avytoqau/api4/app.php on line 20 [20-Jan-2018 07:48:02 UTC] PHP Fatal error: require(): Failed opening required '/home/avytoqau/api4/vendor/autoload.php' (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/avytoqau/api4/app.php on line 20

Missing vendor folder?

tuupola commented 6 years ago

If you cloned the repository, have you run $ composer install? That will install the dependencies in vendor folder.