- Issue created by @maxilein
- Assigned to josedsilva
- Status changed to Needs review
about 1 year ago 8:29am 5 September 2023 - 🇮🇳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 withdrupal/daterangepickerwidget:1.0.0-alpha1
but has been resolved in the newer packages. - Status changed to Active
about 1 year ago 9:02am 5 September 2023 - 🇸🇰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 3:57pm 5 September 2023 - 🇮🇳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:- Execute
composer require oomphinc/composer-installers-extender
- 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"], ... } ... }
- Execute
composer require 'drupal/daterangepickerwidget:^1.0@alpha'
- Execute
- 🇮🇳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 8:24am 9 September 2023 - 🇮🇳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.