Closed ROBJkE closed 3 years ago
Found out that composer2
command exists.
So i set an alias alias composer="composer2"
in the local ~/.bashrc
Now i get version 2.1.3
if i run composer
in the shell.
But if I run bin/build.sh
again the error remains the same. weird.
alias does not help. We will need to built a new fuckup to fix that...
Fixed with https://github.com/shyim/shopware-docker/commit/a869efb543b7a676f7351b772873cb3a464badd5
Update your images with swdc update-images
@shyim I had this issue on b7ca5e29d8037943f564a4e439490e2a365645e0
.
I tried:
swdc update-images
Rebooting swdc
In the end I did:
swdc shell-root;
cd /var/www/html/[project-name];
composer self-update --2
Describe the bug I installed shopware production template 6.4.1.0. Then enter the shell and want to
bin/build.sh
An error showed up tells me it requres composer 2. I've checkedcomposer -v
and version1.10.22
is given. How do i update / change to composer version 2?To Reproduce Steps to reproduce the behavior:
swdc shell
bin/build.sh
Screenshots
Environment: