title: error code 1 cache:clear during composer require
body: <p>Can't install/require the ongr/elasticsearch-bundle "~5.0" as per github example.</p>
  
  <p>Im running a fresh install of the latest symfony.</p>
  
  <p>I'm running the following command:
  composer require ongr/elasticsearch-bundle "~5.0"</p>
  
  <p>as per <a href="https://github.com/ongr-io/ElasticsearchBundle" rel="noreferrer">https://github.com/ongr-io/ElasticsearchBundle</a></p>
  
  <pre><code>composer require ongr/elasticsearch-bundle "~5.0"
  
  ./composer.json has been updated
  Loading composer repositories with package information
  Updating dependencies (including require-dev)
  Restricting packages listed in "symfony/symfony" to "4.2.*"
  Package operations: 7 installs, 0 updates, 0 removals
    - Installing react/promise (v2.7.1): Loading from cache
    - Installing guzzlehttp/streams (3.0.0): Loading from cache
    - Installing guzzlehttp/ringphp (1.1.1): Loading from cache
    - Installing elasticsearch/elasticsearch (v5.5.0): Loading from cache
    - Installing ongr/elasticsearch-dsl (v5.0.6): Loading from cache
    - Installing symfony/templating (v4.2.11): Loading from cache
    - Installing ongr/elasticsearch-bundle (v5.2.4): Loading from cache
  Writing lock file
  Generating autoload files
  ocramius/package-versions:  Generating version class...
  ocramius/package-versions: ...done generating version class
  Symfony operations: 1 recipe (c91982d16a3859d0a43fd4ff85aa437a)
    - Configuring ongr/elasticsearch-bundle (&gt;=v5.2.4): From auto-generated recipe
  Executing script cache:clear [KO]
   [KO]
  Script cache:clear returned with error code 1
  !!  
  !!  In ArrayNode.php line 228:
  !!                                                                                
  !!    The child node "managers" at path "ongr_elasticsearch" must be configured.  
  !!                                                                                
  !!  
  !!  
  Script @auto-scripts was called via post-update-cmd
  
  Installation failed, reverting ./composer.json to its original content.
  
  </code></pre>
  
  <p>What can I do to solve this issue?</p>
  
  <p>The tutorial mentions a config.yml (which i dont have), i'd assume this would be created if it doesnt exist during the installation</p>