几天后,我手动部署了一个 SF2 应用程序,我编写了一个 Capifony 脚本来自动化应用程序部署。
但是部署崩溃并出现此错误:
** [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
** The child node "firewall_name" at path "hwi_oauth" must be configured.
** Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception
*** [RuntimeException]
*** An error occurred when executing the "'cache:clear --no-warmup'" command.
在我的本地环境和手动部署时一切正常。
我从来没有成功部署这个应用程序,所以没有缓存。
我不明白。