0
嘿,大家好我嘗試添加的捆綁NomayaSocialBundle,我得到這個錯誤安裝nomayaBundle錯誤
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
The child node "buttons" at path "nomaya_social" must be configured.
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
handling the post-update-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the ""cache:clear --no-warmup"" command:
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
The child node "buttons" at path "nomaya_social" must be configured.
我不噸真的知道如何解決它,這是我執行命令的php後得到composer.phar更新nomaya /社交束
C:\wamp\www\MTOCrowdRise>php -r "eval('>'.file_get_contents('https://getcomposer.org/installer'));"
enter code here`All settings correct for using Composer
Downloading...
Composer successfully installed to: C:\wamp\www\MTOCrowdRise\composer.phar
Use it: php composer.phar
C:\wamp\www\MTOCrowdRise>php composer.phar update nomaya/social-bundle
You are running composer with xdebug enabled.
This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Loading composer repositories with package information
Updating dependencies (including require-dev)
Generating autoload files
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Updating the "app/config/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
The child node "buttons" at path "nomaya_social" must be configured.
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
handling the post-update-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the ""cache:clear --no-warmup"" command:
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
The child node "buttons" at path "nomaya_social" must be configured.
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock]
[--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts]
[--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]
[-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable]
[--prefer-lowest] [-i|--interactive] [--] [<packages>]...
你已經添加了一些連接到bundle的配置到config.yml嗎? –
@PawełMikołajczuk是的,我沒有 –
你可以檢查我的答案,並告訴我們你的配置從config.yml包? –