popper.js library missing in composer.libraries.json

Created on 4 January 2023, almost 2 years ago
Updated 12 June 2023, over 1 year ago

Problem/Motivation

I have included webform's composer.libraries.json in a project-level composer.json. However, I see a warning on the Drupal Status page that popperjs is included via CDN, whereas all the other libraries have been correctly installed in the libraries folder.

Popper.js 2.11.6 (CDN).
Please download the Popper.js library from https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz and copy it to /libraries/popperjs or use Drush to install this library.
(Popper.js is used to provide tooltip behavior for elements.}

As an additional bug note, you can see that the blockquote ends with a curly-brace } instead of a closing parenthesis.

Steps to reproduce

Look in composer.libraries.json to see the popperjs library is missing from there.

Include the file in composer.json with

    "require": {
      ...
      "wikimedia/composer-merge-plugin": "^2.0"
    },
    "extra": {
        "merge-plugin": {
            "include": [
                "web/modules/contrib/webform/composer.libraries.json"
            ]
        },

Proposed resolution

Add the missing library.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

6.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024