It’s me, I didn’t tell you that I was on Windows.
I deleted the “vendor” folder and the “composer.lock” file. Then I tried extracting the POT file again.
I have a new error message:
PS H:\wamp64\www\contest\adt-ardeche> bin/cake i18n extract
*Fatal error: Declaration of Bake\Shell\BakeShell::startup() must be compatible with Cake\Console\Shell::startup(): void in H:\wamp64\www\contest\adt-ardeche\vendor\cakephp\bake\src\Shell\BakeShell.php on line 50*
*Call Stack:*
*0.0002 402704 1. {main}() H:\wamp64\www\contest\adt-ardeche\bin\cake.php:0*
*0.0292 2720544 2. Cake\Console\CommandRunner->run($argv = [0 => 'H:\\wamp64\\www\\contest\\adt-ardeche\\bin\\cake.php', 1 => 'i18n', 2*
*=> 'extract'], $io = ???) H:\wamp64\www\contest\adt-ardeche\bin\cake.php:12*
*0.0571 4761576 3. Cake\Http\BaseApplication->pluginConsole($commands = class Cake\Console\CommandCollection { protected $commands = ['help' => 'Cake\\Console\\Command\\HelpCommand', 'version' => 'Cake\\Command\\VersionCommand', 'cache clear' => 'Cake\\Command\\CacheClearCommand', 'cache clear_all' => 'Cake\\Command\\CacheClearallCommand', 'cache list' => 'Cake\\Command\\CacheListCommand', 'completion' => 'Cake\\Command\\CompletionCommand', 'i18n' => 'Cake\\Command\\I18nCommand', 'i18n extract' => 'Cake\\Command\\I18nExtractCommand', 'i18n init' => 'Cake\\Command\\I18nInitCommand', 'plugin assets copy' => 'Cake\\Command\\PluginAssetsCopyCommand', 'plugin assets remove' => 'Cake\\Command\\PluginAssetsRemoveCommand', 'plugin assets symlink' => 'Cake\\Command\\PluginAssetsSymlinkCommand', 'plugin load' => 'Cake\\Command\\PluginLoadCommand', 'plugin loaded' => 'Cake\\Command\\PluginLoadedCommand', 'plugin unload' => 'Cake\\Command\\PluginUnloadCommand', 'routes check' => 'Cake\\Command\\RoutesCheckCommand', 'routes' => 'Cake\\Command\\RoutesCommand', 'routes generate' => 'Cake\\Command\\RoutesGenerateCommand', 'schema_cache build' => 'Cake\\Command\\SchemacacheBuildCommand', 'schema_cache clear' => 'Cake\\Command\\SchemacacheClearCommand', 'server' => 'Cake\\Command\\ServerCommand', 'console' => 'App\\Command\\ConsoleCommand'] }) H:\wamp64\www\contest\adt-ardeche\vendor\cakephp\cakephp\src\Console\CommandRunner.php:144*
*0.0571 4762424 4. Cake\Core\BasePlugin->console($commands = class Cake\Console\CommandCollection { protected $commands = ['help' => 'Cake\\Console\\Command\\HelpCommand', 'version' => 'Cake\\Command\\VersionCommand', 'cache clear' => 'Cake\\Command\\CacheClearCommand', 'cache clear_all' => 'Cake\\Command\\CacheClearallCommand', 'cache list' => 'Cake\\Command\\CacheListCommand', 'completion' => 'Cake\\Command\\CompletionCommand', 'i18n' => 'Cake\\Command\\I18nCommand', 'i18n extract' => 'Cake\\Command\\I18nExtractCommand', 'i18n init' => 'Cake\\Command\\I18nInitCommand', 'plugin assets copy' => 'Cake\\Command\\PluginAssetsCopyCommand', 'plugin assets remove' => 'Cake\\Command\\PluginAssetsRemoveCommand', 'plugin assets symlink' => 'Cake\\Command\\PluginAssetsSymlinkCommand', 'plugin load' => 'Cake\\Command\\PluginLoadCommand', 'plugin loaded' => 'Cake\\Command\\PluginLoadedCommand', 'plugin unload' => 'Cake\\Command\\PluginUnloadCommand', 'routes check' => 'Cake\\Command\\RoutesCheckCommand', 'routes' => 'Cake\\Command\\RoutesCommand', 'routes generate' => 'Cake\\Command\\RoutesGenerateCommand', 'schema_cache build' => 'Cake\\Command\\SchemacacheBuildCommand', 'schema_cache clear' => 'Cake\\Command\\SchemacacheClearCommand', 'server' => 'Cake\\Command\\ServerCommand', 'console' => 'App\\Command\\ConsoleCommand'] }) H:\wamp64\www\contest\adt-ardeche\vendor\cakephp\cakephp\src\Http\BaseApplication.php:233*
*0.0571 4762424 5. Cake\Console\CommandCollection->discoverPlugin($plugin = 'Bake') H:\wamp64\www\contest\adt-ardeche\vendor\cakephp\cakephp\src\Core\BasePlugin.php:281*
*0.0571 4762464 6. Cake\Console\CommandScanner->scanPlugin($plugin = 'Bake') H:\wamp64\www\contest\adt-ardeche\vendor\cakephp\cakephp\src\Console\CommandCollection.php:180*
*0.0572 4762792 7. Cake\Console\CommandScanner->scanDir($path = 'H:\\wamp64\\www\\contest\\adt-ardeche/vendor/cakephp/bake/src\\Shell',*
*$namespace = 'Bake\\Shell\\', $prefix = 'bake.', $hide = []) H:\wamp64\www\contest\adt-ardeche\vendor\cakephp\cakephp\src\Console\CommandScanner.php:96*
*0.0575 4769704 8. is_subclass_of($object_or_class = 'Bake\\Shell\\BakeShell', $class = 'Cake\\Console\\Shell') H:\wamp64\www\contest\adt-ardeche\vendor\cakephp\cakephp\src\Console\CommandScanner.php:137*
*0.0575 4769824 9. Composer\Autoload\ClassLoader->loadClass($class = 'Bake\\Shell\\BakeShell') H:\wamp64\www\contest\adt-ardeche\vendor\cakephp\cakephp\src\Console\CommandScanner.php:137*
*0.0577 4769952 10. Composer\Autoload\{closure:H:\wamp64\www\contest\adt-ardeche\vendor\composer\ClassLoader.php:575-577}($file = 'H:\\wamp64\\www\\contest\\adt-ardeche\\vendor\\composer/../cakephp/bake/src\\Shell\\BakeShell.php') H:\wamp64\www\contest\adt-ardeche\vendor\composer\ClassLoader.php:427*
*0.0581 4811920 11. include('H:\wamp64\www\contest\adt-ardeche\vendor\cakephp\bake\src\Shell\BakeShell.php') H:\wamp64\www\contest\adt-ardeche\vendor\composer\ClassLoader.php:576*