- 🇩🇪Germany SteffenR Germany
We had the similar problem in on of our projects.
The reason was the missing cookiesjsr-preloader.min.js file in the npm asset, since we are fetching all of our external libraries via composer.
This could be fixed by adding the following entry to the repositories section of the composer.json.
"cookiessjr": { "type": "package", "package": { "name": "npm-asset/cookiesjsr", "version": "master", "type": "drupal-library", "dist": { "url": "https://github.com/jfeltkamp/cookiesjsr/archive/refs/heads/master.zip", "type": "zip" } } },
Afterwards you can require (first remove if already installed) the composer package via:
composer require npm-asset/cookiesjsr