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 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).I need to ensure
composer install
gets run.