ddev / ddev-contrib

MOSTLY OBSOLETE, replaced by DDEV Add-ons. Was older contrib space for DDEV services, tools, snippets, and approaches.
Apache License 2.0
162 stars 160 forks source link

Cannot configure Phpstan with the DDEV container. #226

Closed zaifastafa closed 1 year ago

zaifastafa commented 1 year ago

Hi, I keep getting the following error;

com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "docker-compose" (in directory "/home/huzaifa/code/shopware/.ddev"): error=2, No such file or directory

Can you provide a guide or a setting configuration how I can run this? @rfay

rfay commented 1 year ago

This isn't the right place for this issue, but what you would want to do is configure the location of docker-compose in Build, Execution, Deployment -> Docker -> Tools - and it should be set to ~/.ddev/bin/docker-compose (or expand the ~, for example /Users/rfay/.ddev/bin/docker-compose or /home/rfay/.ddev/bin/docker-compose