hearsayit / HearsayRequireJSBundle

RequireJS integration for Symfony2.
130 stars 55 forks source link

Service ("templating.helper.assets") on cache:clear #56

Closed nvcristea closed 10 years ago

nvcristea commented 10 years ago

Clearing the cache for the dev environment with debug true

[Symfony\Component\DependencyInjection\Exception\InactiveScopeException]
You cannot create a service ("templating.helper.assets") of an inactive scope ("request").

Exception trace: () at /Users/enkas/Sites/SFC/symfony2/app/cache/de_/ap_DevDebugProjectContainer.php:4887 ap_DevDebugProjectContainer->getTemplating_Helper_AssetsService() at /Users/enkas/Sites/SFC/symfony2/app/bootstrap.php.cache:129 Symfony\Component\DependencyInjection\Container->get() at /Users/enkas/Sites/SFC/symfony2/vendor/hearsay/require-js-bundle/Hearsay/RequireJSBundle/Configuration/ConfigurationBuilder.php:184