libuk / last-lifts

Track your last barbell lifts - In slow development
0 stars 0 forks source link

Ensure composer installs dependencies #10

Closed libuk closed 1 month ago

libuk commented 1 month ago

I received the following error when trying to run the application via WSL. It suggests composer install was not run as the vendor directory doesn't exist (after I checked manually).

Warning: require_once(/var/www/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/public/index.php on line 9

Fatal error: Uncaught Error: Failed opening required '/var/www/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/public/index.php:9 Stack trace: #0 {main} thrown in /var/www/public/index.php on line 9

I need to ensure composer install gets run.