Closed michaelmannucci closed 2 years ago
Composer didn't install. You can see in the output that it's complaining about your PHP version.
- symfony/console v6.1.1 requires php >=8.1 -> your php version (8.0.20) does not satisfy that requirement.
You can remedy this by changing your PHP version to 8.0 locally, doing a composer update, then deploying again.
I get this error when trying to deploy to Netlify. I am able to build locally fine.
PHP Fatal error: Uncaught Error: Failed opening required '/opt/build/repo/vendor/autoload.php' (include_path='.:/usr/share/php') in /opt/build/repo/please:18
I read on a similar post that you need to run
composer install
on Netlify, but Netlify runs this command automatically and you can't customize the arguments.Any ideas?
Here is the whole deploy log: