CoreSphere / ConsoleBundle

Commandline interface in browser for Symfony2
BSD 3-Clause "New" or "Revised" License
140 stars 54 forks source link

There is no extension able to load the configuration for "_main" #76

Open reypm opened 7 years ago

reypm commented 7 years ago

I am using Symfony 3.2.6 and the bundle isn't working properly. See the output below:

$ symfony_console assets:install

  [Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]                                                                                                                                      
  There is no extension able to load the configuration for "_main" (in /var/www/html/oneview_symfony/app/config/config_dev.yml). Looked for namespace "_main", found "framework", "security", "twig", "monolog",  
   "swiftmailer", "doctrine", "sensio_framework_extra", "easy_admin", "stof_doctrine_extensions", "fresh_doctrine_enum", "doctrine_mongodb", "bazinga_js_translation", "jms_serializer", "quote", "debug", "web_  
  profiler", "sensio_distribution", "core_sphere_console"                                                                                                                                                         

$ symfony_console assets:install

  [Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]   
  There is no extension able to load the configuration for "main" (in /var/ww  
  w/html/oneview_symfony/app/config/config_dev.yml). Looked for namespace "ma  
  in", found "framework", "security", "twig", "monolog", "swiftmailer", "doct  
  rine", "sensio_framework_extra", "easy_admin", "stof_doctrine_extensions",   
  "fresh_doctrine_enum", "doctrine_mongodb", "bazinga_js_translation", "jms_s  
  erializer", "quote", "debug", "web_profiler", "sensio_distribution", "core_  
  sphere_console"                                                             

Any ideas?

I've found this #64 and this PR #59 but I don't know if it applies on this case

laszlokorte commented 6 years ago

Looks like you put the routing configuration that belongs into the app/config/routing_dev.yml into your app/config/config.yml instead