From 500ec267fbf056d34f14d1d9c4cd51851215be4c Mon Sep 17 00:00:00 2001 From: andrew farquharson Date: Sun, 18 Nov 2018 22:27:12 +0000 Subject: [PATCH] Added tip on repairing broken contrib modules The current jsonapi_extras module is v.2.11 and it is currently broken. I used this command to downgrade it, cleared the cache and my site works. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a7a11e0..6c18b84 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,12 @@ The container doesn't automatically run `drush site-install` because we want it `docker-compose exec php composer run-script install:with-mysql` +# Dealing with breakages + +Following installation if you find error messages indicating that one of the contrib modules is broken, you may need to downgrade that module. For example to downgrade the jsonapi_extras module from its current 2.11 version to 2.10 run this composer command from inside the web directory: + +`composer require "drupal/jsonapi_extras:2.10"` + # Persistence Persistent state is stored in a database volume named `data`. You can destroy and recreate the containers as much as you like and your site will be preserved until you also destroy the volume.