ninsuo / symfony-collection-demo

Demo website for https://github.com/ninsuo/symfony-collection
MIT License
15 stars 8 forks source link

DistributionBundle clearCache fail during composer install #11

Open DylanDelobel opened 5 years ago

DylanDelobel commented 5 years ago

After the git clone, composer install

> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache

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:                  

  PHP Fatal error:  Uncaught Symfony\Component\DependencyInjection\Exception\ParameterNotFo  
  undException: The service "uri_signer" has a dependency on a non-existent parameter "kern  
  el.secret". Did you mean this: "kernel.charset"? in /home/Lab/symfony-collec  
  tion-demo/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ParameterBag/P  
  arameterBag.php:100                                                                        
  Stack trace:                                                                               
  #0 /home/Lab/symfony-collection-demo/vendor/symfony/symfony/src/Symfony/Comp  
  onent/DependencyInjection/ParameterBag/EnvPlaceholderParameterBag.php(56): Symfony\Compon  
  ent\DependencyInjection\ParameterBag\ParameterBag->get('kernel.secret')                    
  #1 /home/Lab/symfony-collection-demo/vendor/symfony/symfony/src/Symfony/Comp  
  onent/DependencyInjection/ParameterBag/ParameterBag.php(217): Symfony\Component\Dependenc  
  yInjection\ParameterBag\EnvPlaceholderParameterBag->get('kernel.secret')                   
  #2 /home/Lab/symfony-collection-demo/vendor/symfony/symfony/src/Symfony/Comp  
  onent/DependencyInjection/ParameterBag/ParameterBag.php(187): S in /home/Lab  
  /symfony-collection-demo/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection  
  /ParameterBag/ParameterBag.php on line 100    

PHP 7.1.12 and latest composer