thanks @Twansparant, I followed this, but it didn’t work for me
I updated composer locally to version 2 (Composer version 2.0.9 2021-01-27 16:09:27
)
My /group_vars/all/main.yml is like this
if I SSH into my vagrant box and I check the composer --version I can see (Composer version 2.0.9 2021-01-27 16:09:27
)
my site/composer.json is like
and my theme’s composer.json
is
I SSH into staging remote server and I can see (Composer version 2.0.9 2021-01-27 16:09:27
)
of course, I committed all these changes and I tried to re-provision the server and re-deploy multiple times, but with no luck.
I don’t know what else I can try
this is the error that I have (with composer 1 or composer 2)
I am happy to revert to composer 1 (maybe it is easier) but when I tried this, the vagrant box and the DO droplet still have composer 2.
I happy to pay if somebody can support me with this, because I run out of possibility. (I am stuck at this point for 2 days, nearly 3 days, the website is ready but I can’t push it live because of this error)
thanks