shopware / development

MIT License
191 stars 170 forks source link

Installation leads to `Command "bin" is not defined` #137

Closed jissereitsma closed 3 years ago

jissereitsma commented 3 years ago

When running the psh.phar install command within the Docker container, I bumped into the following error: [Symfony\Component\Console\Exception\CommandNotFoundException] Command "bin" is not defined. Script @composer bin all install --ansi handling

I fixed this by running the command composer global require bamarni/composer-bin-plugin within the Docker container. It almost seems as if composer itself was updated recently in the Docker image and that this lead to the removal of the bamarni/composer-bin-plugin plugin.

Any ideas?

shyim commented 3 years ago

On Fresh Setup?

jissereitsma commented 3 years ago

@shyim Yes, indeed a fresh setup. Downloaded a new image. I'll try again later this afternoon again, to see if I can see what happened to the original plugin ...

jissereitsma commented 3 years ago

I tried it again, but this time I double-checked to make sure the Docker image was removed with docker rmi xyz. This resolved things. False alarm. Sorry for bothering you.