Apply Patches
Apply patches for Subrequests and Decoupled Router modules
At the time of this writing, there are two patches we need to wire everything together.
- Open your Drupal 
composer.jsonfile. - Add the following patches under 
"extra". 
composer.json
"extra": {    "patches": {        "drupal/subrequests": {            "Get same results on different request": "https://www.drupal.org/files/issues/2019-07-18/change_request_type-63049395-09.patch"        },        "drupal/decoupled_router": {            "Unable to resolve path on node in other language than default": "https://www.drupal.org/files/issues/2021-05-05/3111456-34.patch"        }    },}- Run the following command:
 
composer require cweagans/composer-patchesYou can read more about the patches here: