Previously I had no problem creating a site in forge, then ticking the box to ensure composer dependencies are installed. Now I have found that a new site fails if I check that box. However if i uncheck the box it installs fine. I then have to manually SSH into the server and run sudo composer install myself.
How can I allow composer to install via forge like it previously did? Has anyone else seen this?
This was down to an out of date lock file being committed to source control which blew up any new deployments I was making.
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.