Problem/Motivation

According to composer: Package oomphinc/composer-installers-extender is abandoned, you should avoid using it. No replacement was suggested. The documentation instructions (https://git.drupalcode.org/project/clientside_validation/-/blob/4.0.x/RE...) should be updated to reflect a different installation path using composer.

Proposed resolution

  1. Update composer.json

    Add the official GitHub repository for jQuery Validation directly into your "repositories" array.
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        {
            "type": "package",
            "package": {
                "name": "jquery/jquery-validation",
                "version": "1.20.0",
                "type": "drupal-library",
                "dist": {
                    "url": "https://github.com",
                    "type": "zip"
                }
            }
        }
    ]
    
  2. Verify Core Installer Configuration

    "extra": {
        "installer-paths": {
            "web/libraries/{$name}": ["type:drupal-library"]
        }
    }
    
  3. Run the Composer command

    Install the plugin using the custom package name defined in your repository
    composer require jquery/jquery-validation
  4. Verify Folder Map

    Once installed, verify that the path matches what clientside_validation_jquery is looking for:

    Target Path: web/libraries/jquery-validation/dist/jquery.validate.js

    If you see the files extracted cleanly into that folder, clearing your cache (drush cr) will immediately hook up clientside validation across your forms.

Comments

kwfinken created an issue.