Here’s another interesting one:
I use a paid template for many of my company’s sites. I have that template in a repository and everything is set up correctly in my composer.json and has been working for a while. The template has been updated a few times and I have unzipped and committed and pushed and all works fine.
This latest update is causing a composer error. I went from 18.1-18.2 and composer update on local works fine and site works fine… but when I deploy using trellis-cli, I receive this error:
TASK [deploy : Install Composer dependencies] ********************************** System info: Ansible 2.7.5; Darwin Trellis 1.0.3: April 30th, 2019 --------------------------------------------------- Loading composer repositories with package information Installing dependencies from lock file Package operations: 13 installs, 1 update, 0 removals - Updating envato-theme/bridge (v18.1 => v18.2): [RuntimeException] The .git directory is missing from web/app/themes/bridge/, see https://getcomposer.org/commit-deps for more information install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no- custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no- suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap- authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
The .git directory is missing… why is it checking for a .git directory?
I can downgrade back to 18.1 and that step works just fine. I have looked in all changed files and am not seeing anything that I think would cause this error.
I have also ssh into the remote and removed that template folder and still received the same error even though the folder didn’t even exist anymore.
Has anyone seen anything like this?
Thanks for any help/time.