neos-base-distribution icon indicating copy to clipboard operation
neos-base-distribution copied to clipboard

`"post-create-project-cmd": "./flow welcome"` Issues

Open mhsdesign opened this issue 3 years ago • 1 comments

composer create-project neos/neos-base-distribution fails on windows

see https://discuss.neos.io/t/composer-create-project-neos-neos-base-distribution-mysite-not-working-windows/6147/3 duplicate of https://discuss.neos.io/t/setting-up-neos-with-xampp/5917

The problem is that we run flow welcome, at a time where flow cant find the php executable - as this needs to be adjusted first. https://discuss.neos.io/t/setting-up-neos-with-xampp/5917/5?u=marc

Adjusting Neos.Flow.core.phpBinaryPathAndFilename on windows is a mandatory step before flow would even run: https://discuss.neos.io/t/running-neos-flow-on-windows-10-success/2752

mhsdesign avatar Dec 05 '22 10:12 mhsdesign

Even with the use of ddev on windows its a problem as described in slack: https://neos-project.slack.com/archives/C050C8FEK/p1675093993845509

I would suggest to check first if ./flow even exists or if the execution fails echo out a usefull note instead of letting the composer create project command to crash

mhsdesign avatar Jan 31 '23 08:01 mhsdesign