Composer require error: rmariuzzo/checkboxes.js ^1.2.2 -> no matching package found.

Created on 20 November 2019, about 5 years ago
Updated 5 July 2024, 5 months ago

Trying to install this using composer and I get this error:

rmariuzzo/checkboxes.js ^1.2.2 -> no matching package found.

Could not find a matching version of package rmariuzzo/checkboxes.js. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (alpha).

I'm confused as to why this is not in the composer.json for the module (I see that it is in the README.md on Github but still). FWIW the attached patch will not resolve the issue until merged. The workaround is to add this to your root composer.json as noted in the module installation directions.

   "repositories": {
        "rmariuzzo/checkboxes.js": {
            "type": "package",
            "package": {
                "name": "rmariuzzo/checkboxes.js",
                "version": "1.2.2",
                "type": "drupal-library",
                "dist": {
                    "url": "https://github.com/rmariuzzo/checkboxes.js/archive/v1.2.2.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "^1.2.0"
                }
            }
        }
    },
πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States brooke_heaton

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