bower-asset/jquery-ui-daterangepicker 0.6.0-beta.1 could not be found

Created on 5 September 2023, about 1 year ago
Updated 11 September 2023, about 1 year ago

Problem/Motivation

composer require 'drupal/daterangepickerwidget:^1.0@alpha'
./composer.json has been updated
Running composer update drupal/daterangepickerwidget
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- drupal/daterangepickerwidget 1.0.0-alpha1 requires bower-asset/jquery-ui-daterangepicker 0.6.0-beta.1 -> could not be found in any version, there may be a typo in the package name.
- drupal/daterangepickerwidget[1.0.0-alpha2, ..., 1.0.1-alpha1] require bower-asset/jquery-ui-daterangepicker ^0.5 -> could not be found in any version, there may be a typo in the package name.
- Root composer.json requires drupal/daterangepickerwidget ^1.0@alpha -> satisfiable by drupal/daterangepickerwidget[1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-alpha3, 1.0.1-alpha1].

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see for more details.
- It's a private package and you forgot to add a custom repository to find it

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇦🇹Austria maxilein

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

Comments & Activities

  • Issue created by @maxilein
  • Assigned to josedsilva
  • Status changed to Needs review about 1 year ago
  • 🇮🇳India josedsilva Goa

    @maxilein please try clearing composer cache: composer clear-cache
    Then install the latest version: composer require 'drupal/daterangepickerwidget:^1.0@alpha'
    This was an issue with drupal/daterangepickerwidget:1.0.0-alpha1 but has been resolved in the newer packages.

  • Status changed to Active about 1 year ago
  • 🇸🇰Slovakia coaston

    I have got the same issue. Please reffer to attached picture.

  • 🇮🇳India shubham_jain

    hi, I am also facing the same error. I think there is problem in composer.json file.

    Please maintainers look into it.

  • Status changed to Needs review about 1 year ago
  • 🇮🇳India josedsilva Goa

    Did you follow the Installation instruction before executing composer?
    The dependency bower-asset/jquery-ui-daterangepicker:^0.5 is pulled in from Asset Packagist.

    Ref: https://github.com/drupal-composer/drupal-project/issues/278#issuecommen...
    Please do the following:

    1. Execute composer require oomphinc/composer-installers-extender
    2. Edit your project's composer.json file as follows:
      1. Add the Asset Packagist repository to the "repositories" section:
          "repositories": [
      ...
              {
                  "type": "composer",
                  "url": "https://asset-packagist.org"
              }
          ],
      

      2. Add "installer-types" and update "installer-paths" in the "extra" section:

      "extra": {
      ...
              "installer-types": ["npm-asset", "bower-asset"],
              "installer-paths": {
      ...
                  "web/libraries/{$name}": ["type:drupal-library", "type:npm-asset", "type:bower-asset"],
      ...
              }
      ...
          }
      
    3. Execute composer require 'drupal/daterangepickerwidget:^1.0@alpha'
  • 🇮🇳India shubham_jain

    Hi @josedsilva, the solution provided by you solves the issue.

    Previously, I edited the composer.json and added the "repositories" section. But forgot to go the github link and update composer.json file.
    Resulting in this error.

  • 🇸🇰Slovakia coaston

    Is it possible to add possiblilty to downlod it direcly with no additional steps so just withs

    composer require 'drupal/daterangepickerwidget:^1.0@alpha' --width-all-dependencies

  • Status changed to Closed: works as designed about 1 year ago
  • 🇮🇳India josedsilva Goa

    Installation setup for Asset Packagist was not done prior to installing this module. Hence the issue of missing dependencies occurred.
    Closing ticket as non-issue since the system works as designed.

  • 🇮🇳India shubham_jain

    Hi @josedsilva, can you please review my work in this issue as I have given my valuable time to this issue.

Production build 0.71.5 2024