nenes25 / prestashop_console

Prestashop Console Tools
Open Software License 3.0
49 stars 15 forks source link

Error when try to start by prestashopConsole command #142

Closed Evil1991 closed 3 years ago

Evil1991 commented 4 years ago

root@vm-02ac6d05:/var/www/testforplugins2/www# prestashopConsole PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The "phar:///var/www/testforplugins2/www/prestashopConsole/src/Hhennes/PrestashopConsole/Command" directory does not exist.' in /var/www/testforplugins2/www/vendor/symfony/symfony/src/Symfony/Component/Finder/Finder.php:547 Stack trace:

0 phar:///usr/local/bin/prestashopConsole/src/Hhennes/PrestashopConsole/PrestashopConsoleApplication.php(66): Symfony\Component\Finder\Finder->in('phar:///var/www...')

1 phar:///usr/local/bin/prestashopConsole/bin/phar/consolePhar.php(34): Hhennes\PrestashopConsole\PrestashopConsoleApplication->getDeclaredCommands()

2 /usr/local/bin/prestashopConsole(10): require('phar:///usr/loc...')

3 {main}

thrown in /var/www/testforplugins2/www/vendor/symfony/symfony/src/Symfony/Component/Finder/Finder.php on line 547

nenes25 commented 4 years ago

Hi, This error seems to be related to this feature of issue #47 Is /var/www/testforplugins2/www the root of your project or of your global web directory ?