Symfony 4 - 需要打开失败 getSwiftmailer_EmailSender_ListenerService

Symfony 4 - Failed opening required getSwiftmailer_EmailSender_ListenerService

我想检查 Symfony 4 的要求:http://symfony.com/doc/current/reference/requirements.html

但是当我使用 composer require requirements-checker 命令时,我收到此错误消息:

Fatal error: Container5q18PHK\srcDevDebugProjectContainer::load(): Failed opening required '/var/www/html/demo/var/cache/dev/Container5q18PHK/getSwiftmailer_EmailSender_ListenerService.php' (include_path='.:/usr/local/lib/php') in /var/www/html/demo/var/cache/dev/Container5q18PHK/srcDevDebugProjectContainer.php on line 350

In srcDevDebugProjectContainer.php line 350: Compile Error: Container5q18PHK\srcDevDebugProjectContainer::load(): Failed opening required '/var/www/html/demo/var/cache/dev/Container5q18PHK/getSwiftmailer_EmailSender_ListenerService.php' (include_path='.:/usr/local/lib/php')

我使用 Docker 容器 (php:7.2-fpm)。

有什么问题?

谢谢。

通过重启我的容器解决...