OXIDprojects / oxrun

Oxrun provides a cli toolset for the OXID eShop v6.x
MIT License
9 stars 7 forks source link

Cannot autowire service #64

Open MartinKuhl opened 2 years ago

MartinKuhl commented 2 years ago

After the composer installation of oxrun in Oxid6 (dev-b-6.5-ce) I get the following error if I try run oxrun.

www-data@5d91dd575284:/var/www/html$ /var/www/html/vendor/bin/oxrun list
[31-Oct-2022 23:35:33 Europe/Berlin] PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\RuntimeException: Cannot autowire service "Oxrun\Command\Module\ReloadCommand": argument "$oxrunContext" of method "__construct()" references class "Oxrun\Core\OxrunContext" but no such service exists. in /var/www/html/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php:54 Stack trace:

0 /var/www/html/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php(82): Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass->processValue(Object(Symfony\Component\DependencyInjection\Definition), true)

1 /var/www/html/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php(32): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Array, true)

2 /var/www/html/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php(47): Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass->processValue(Array, true)

3 /var/www/htm in /var/www/html/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php on line 54

Any ideas?