Problem

After installing a Magento 2 module, this error occurs in the checkout:


main.CRITICAL: Broken reference: No element found with ID 'checkout.header.wrapper'


Cause

The module was not installed properly.


Solution

Please follow the installation instructions for Composer from this article, section "Magento 2".