Closed (outdated)
Project:
Schema.org configuration tool (RDF UI)
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2020 at 16:54 UTC
Updated:
5 Jul 2021 at 20:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
chodec commentedIn my case composer throws this error (composer v1)
Comment #3
tomvanetten commentedComment #4
tomvanetten commentedComment #6
sanduhrsThanks for contributing!
Comment #7
mattbloomfield commentedIt could just be me, but I'm trying to add rdfui to composer.json in 9.0.6 and 8.9.6 and I'm still getting the error. I've tried removing my dev requirement for easyrdf entirely, which removed it, but I'm still getting that error message.
Comment #8
elizoller commentedI am getting the same error in drupal 8.9.6
Comment #9
Steven Brown commentedThe error still occurs in dev and in the 1.0-beta4 releases.
Comment #10
tomvanetten commentedHi all,
Are you all at the commit : https://www.drupal.org/commitlog/commit/66863/e94b5776e3a017a84c9084c44e... or later locally (you have to require dev in composer, maybe remove it and then require the newest version)?
This only works if you are on that or a later version, the patch itself wont work as dependencies are installed earlier than the patch is applied. So there comes an error from. Maybe there are more erros, but this patch solves one of them (at least for the latest drupal 8.8 release)
I did not have time to fix it in beta releases or other branches other than dev. Please feel free to apply the patch to those branches and raise issues! Then the maintainer can apply them quickly there.
Comment #11
tomvanetten commentedComment #12
mchamps commentedHi, I'm running Drupal 8.9.13.
When I run composer require drupal/rdfui , it installs automatically drupal/rdfui (1.0.0-beta3)
So I run composer require drupal/rdfui ^1.0.0-beta4 and I get the following error :
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install drupal/rdfui 1.0.0-beta4
- Conclusion: remove easyrdf/easyrdf 0.9.1
- Installation request for drupal/rdfui ^1.0.0-beta4 -> satisfiable by drupal/rdfui[1.x-dev, 1.0.0-beta4].
- Conclusion: don't install easyrdf/easyrdf 0.9.1
- drupal/rdfui 1.x-dev requires easyrdf/easyrdf ^1.0 -> satisfiable by easyrdf/easyrdf[1.0.0, 1.0.0-rc.1, 1.1.0, 1.1.1].
- Can only install one of: easyrdf/easyrdf[1.0.0, 0.9.1].
- Can only install one of: easyrdf/easyrdf[1.0.0-rc.1, 0.9.1].
- Can only install one of: easyrdf/easyrdf[1.1.0, 0.9.1].
- Can only install one of: easyrdf/easyrdf[1.1.1, 0.9.1].
- Installation request for easyrdf/easyrdf (locked at 0.9.1) -> satisfiable by easyrdf/easyrdf[0.9.1].
Installation failed, reverting ./composer.json to its original content.
With beta3, It throws an error when I enable the RDF UI module.
Cheers
Comment #13
aaronelborg commented@mchamps Were you able to resolve this? I'm in the same boat using 8.9.14.
Comment #14
mmjvb commentedShould be very easy to solve with --update-with-dependencies on the require.
When you require a module you need to make sure dependencies are allowed to be updated when needed. Prefer to do the right thing up front, but when lazy feel free to be surprised.
Doing the right things up front would be using several require --no-update followed by a whitelisted update:
composer require drupal/rdfui ^1.0@beta --no-update
composer require easyrdf/easyrdf ^1.0 --no-update
composer update drupal/rdfui easyrdf/easyrdf
Note: easyrdf/easyrdf may not need to become a primary requirement. So, you may omit that require and just use the other two commands. It is not clear from the information provided above whether there is a requirement constraint blocking 1.x.
Comment #15
owens-d commentedI just managed to install this on my Drupal 8.9.15 version by aliasing easyrdf 1.1.1 to easyrdf 0.9.1 in composer.json.
using the following command:
composer require easyrdf/easyrdf:"1.1.1 as 0.9.1"I could subsequently install drupal/rdfui ^1.0@beta :
composer require drupal/rdfui ^1.0@betaand enable it in the extend page without issue, and RDFUI appears to work as intended.
It is a quick and dirty solution but it works for D8.9 until the rest of my project can be updated to D9.x
Comment #16
aaronelborg commentedThanks, Owens-D. That seems to have worked!
Comment #17
mchamps commentedThanks mmjvb & Owens-D for your help.
I'm getting the following errors. With mmjvb's solution :
With Owens-D quick & dirty solution :
Thanks everybody!
Comment #18
mmjvb commentedNow, it is!
Obviously, the first step would have been:
composer prohibits easyrdf/easyrdf 1.1.1
Giving you drupal/core requiring esyrdf/easyrdf ^0.9 which excludes ^1.1.
Unfortunately, that is for all drupal/core 8.9. That means you need to migrate to D9.
Or use the suggestion to have 1.1.1 pretend to be 0.9.9 so the constraint from core is fulfilled. See answer Owens-D #15
Notice the lack of : between package and constraint.
Comment #19
mchamps commentedSorry mmjvb, I couldn't get it to work.
I migrate to Drupal 9.2 and it now works great ! Thanks all for your help !