-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
As a developer, I would like to disable front-end development tooling like Twig Debugging. To do this, Usher provides a Robo command to do this via composer robo frontend:dev-disable. However, when I run this on Imprivata (composer robo frontend:dev-disable imprivata) although the command completes successfully and without error any successive Drush commands result in the following error:
ddev drush @imprivata.ddev cr
In Container.php line 157:
You have requested a non-existent service "cache.backend.null". Did you
mean one of these: "cache.backend.redis", "cache.backend.apcu", "cache.b
ackend.memory", "cache.backend.php"?
Failed to run drush @imprivata.ddev cr: exit status 1
Ultimately, this results in a WSOD for the rendered site with the following error:
The website encountered an unexpected error. Try again later.
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "cache.backend.null". Did you mean one of these: "cache.backend.apcu", "cache.backend.php", "cache.backend.memory", "cache.backend.redis"? in Drupal\Component\DependencyInjection\Container->get() (line 157 of core/lib/Drupal/Component/DependencyInjection/Container.php).
Issue Owner
To Reproduce
Steps
- Go to
imprivata-drupal-8repo - Pull the project down locally and run it with DDEV
- After getting the project up and running, run
composer robo frontend:dev-disable imprivata - After completion, run a Drush command like
ddev drush @imprivata.ddev cr - See error
Environment
- OS: macOS 14.5
- Device: MacBook Pro M1 2021
- Docker: OrbStack (1.6.2)
- DDEV: 1.23.2
Expected Behavior
This should function as described by Usher's documentation: disables front-end tooling, especially Twig Debugging.
### Tasks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working