Sylius 1.5 Warning: chdir(): No such file or directory (errno 2)

Hi there.

I actually try to add a new entity with the maker bundle of Symfony, but i can’t get rid of this error. I don’t know what is happening.

it happen right after :

 php bin/console make:entity

 Class name of the entity to create or update (e.g. AgreeableGnome):
 > Customer

 Your entity already exists! So let's add some new fields!
PHP Fatal error:  During class fetch: Uncaught ErrorException: Warning: chdir(): No such file or directory (errno 2) in /Users/loic/Documents/TFE/cmi-4/sylius-standard/vendor/symfony/debug/DebugClassLoader.php:458



Stack trace:
#0 phar:///Users/loic/Documents/TFE/cmi-4/sylius-standard/vendor/phpstan/phpstan-shim/phpstan.phar/vendor/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php(14): spl_autoload_call('PhpParser\\Lexer')
#1 /Users/loic/Documents/TFE/cmi-4/sylius-standard/vendor/symfony/maker-bundle/src/Util/ClassSourceManipulator.php(63): spl_autoload_call('PhpParser\\Lexer...')
#2 /Users/loic/Documents/TFE/cmi-4/sylius-standard/vendor/symfony/maker-bundle/src/Maker/MakeEntity.php(743): Symfony\Bundle\MakerBundle\Util\ClassSourceManipulator->__construct('<?php\n\nnamespac...', false)
#3 /Users/loic/Documents/TFE/cmi-4/sylius-standard/vendor/symfony/maker-bundle/src/Maker/MakeEntity.php(167): Symfony\Bundle\MakerBundle\Maker\MakeEntity->createClassManipulator('/Users/loic/Doc...', Object(Symfony\Bundle\MakerBundle\ConsoleStyl in phar:///Users/loic/Documents/TFE/cmi-4/sylius-standard/vendor/phpstan/phpstan-shim/phpstan.phar/vendor/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php on line 14