Hallo zusammen,
habe eine Lokale Installation auf Win10 probiert und nach dem bin/setup-Wizard kriege ich folgende Fehlermeldung:
! [NOTE] Checking database credentials
! [NOTE] Running post installation tasks
Using .psh.yaml.dist extended by .psh.yaml.override
Fatal error: Uncaught RuntimeException: Unable to parse include statement „./ini“ in „C:\Users\User\development/dev-ops/common/actions/install.sh“ in phar://C:/Users/User/development/psh.phar/src/ScriptRuntime/ScriptLoader.php:142
Stack trace:
#0 phar://C:/Users/User/development/psh.phar/src/ScriptRuntime/ScriptLoader.php(70): Shopware\Psh\ScriptRuntime\ScriptLoader->findInclude(Object(Shopware\Psh\Listing\Script), ‚./init-composer…‘)
#1 phar://C:/Users/User/development/psh.phar/src/ScriptRuntime/ScriptLoader.php(54): Shopware\Psh\ScriptRuntime\ScriptLoader->Shopware\Psh\ScriptRuntime{closure}(‚INCLUDE: ./init…‘, 6, Object(Shopware\Psh\Listing\Script))
#2 phar://C:/Users/User/development/psh.phar/src/Application/ApplicationFactory.php(96): Shopware\Psh\ScriptRuntime\ScriptLoader->loadScript(Object(Shopware\Psh\Listing\Script))
#3 phar://C:/Users/User/development/psh.phar/src/Application/Application.php(163): Shopware\Psh\Application\ApplicationFactory->createCommands(Object(Shopware\Psh\Listing\Script)) in phar://C:/Users/User/development/psh.phar/src/ScriptRuntime/ScriptLoader.php on line 142
PHP Fatal error: Uncaught RuntimeException: Unable to parse include statement „“ in „C:\Users\User\development/dev-ops/common/actions/install.sh“ in phar://C:/Users/User/development/psh.phar/src/ScriptRuntime/ScriptLoader.php:142
Stack trace:
#0 phar://C:/Users/User/development/psh.phar/src/ScriptRuntime/ScriptLoader.php(70): Shopware\Psh\ScriptRuntime\ScriptLoader->findInclude(Object(Shopware\Psh\Listing\Script), ‚./init-composer…‘)
#1 phar://C:/Users/User/development/psh.phar/src/ScriptRuntime/ScriptLoader.php(54): Shopware\Psh\ScriptRuntime\ScriptLoader->Shopware\Psh\ScriptRuntime{closure}(‚INCLUDE: ./init…‘, 6, Object(Shopware\Psh\Listing\Script))
#2 phar://C:/Users/User/development/psh.phar/src/Application/ApplicationFactory.php(96): Shopware\Psh\ScriptRuntime\ScriptLoader->loadScript(Object(Shopware\Psh\Listing\Script))
#3 phar://C:/Users/User/development/psh.phar/src/Application/Application.php(163): Shopware\Psh\Application\ApplicationFactory->createCommands(Object(Shopware\Psh\Listing\Script)) in phar://C:/Users/User/development/psh.phar/src/ScriptRuntime/ScriptLoader.php on line 142Was mache ich falsch? Danke im Voraus.
Unter Windows wirst du das so nicht zum laufen bekommen.
Entweder du nutzt eine Linux-Shell in Windows (da gibt es glaube ich mitlerweile möglichkeiten) oder setzt auf eine Linux VM. Das war aber in Shopware 5 zu großen Teilen auch schon so.