我无法使用 symfony 5 创建实体 ~'ConsoleErrorEvent.php' 无法打开流:没有这样的文件或目录。~

I cannot create entity with symfony 5 ~'ConsoleErrorEvent.php' failed to open stream: No such file or directory.~

创建骨架

Php> composer create-project symfony/website-skeleton symfony-crud "5.1.*"
Php> cd symfony-crud
symfony-crud> php -S 127.0.0.1:8000 -t public

没关系!

接下来,我要执行'crud'命令

1.
symfony-crud> php bin/console make:crud
  [error] Error thrown while running command ""make:crud"". Message: "There are no commands defined in the "make" namespace.
  You may be looking for a command provided by the "MakerBundle" which is currently not installed. Try running "composer require symfony/maker-bundle --dev"."
  There are no commands defined in the "make" namespace.                                                                                                       
  You may be looking for a command provided by the "MakerBundle" which is currently not installed. Try running "composer require symfony/maker-bundle --dev". 

2.
symfony-crud> composer require symfony/maker-bundle --dev

3.
symfony-crud> php bin/console make:crud
  [ERROR] Missing packages: to use the make:crud command, run:
  composer require form validator twig-bundle orm-pack security-csrf annotations

4.
symfony-crud> composer require form validator twig-bundle orm-pack security-csrf annotations

接下来,使用 .env 创建数据库

DATABASE_URL=mysql://root:rootpw@127.0.0.1:3306/symfony-crud

并执行控制台命令。

symfony-crud> php bin/console doctrine:database:create
  Created database `symfony-crud` for connection named default

接下来,在 'crud' 命令之前创建 'Task' 实体。
发生错误是我添加新 属性 名称。

symfony-crud> php bin/console make:entity Task

 created: src/Entity/Task.php
 created: src/Repository/TaskRepository.php

 Entity generated! Now let's add some fields!
 You can always add more fields later manually or by re-running this command.

 New property name (press <return> to stop adding fields):
 > title

In DebugClassLoader.php line 337:
                                                                                                                                                                    
  Warning: include(D:\OneDrive\ドキュメント\Project\Php\symfony-crud\vendor\composer/../symfony/console/Event/ConsoleErrorEvent.php): failed to open stream: No such file or directory                                                                                                                                              
                                                                                                                                                                    

make:entity [-a|--api-resource] [--regenerate] [--overwrite] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction]
 [-e|--env ENV] [--no-debug] [--] <command> [<name>]

这是什么错误
'ConsoleErrorEvent.php' 无法打开流:没有那个文件或目录。

我在不包含日文的目录中尝试。

我的天啊!问题是乱码!