Problem / Motivation

Cannot run Schema.org Blueprints Demo

This may be the error:

Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/schemadotorg_demo 1.0.0-alpha5 (exact version match), found drupal/schemadotorg_demo[dev-1.0.x, 1.0.x-dev (alias of dev-1.0.x)] but it does not match the constraint.

Comments

2dareis2do created an issue.

2dareis2do’s picture

not sure but I believe it may be necessary to add:

composer config minimun-stability dev

https://youtu.be/Dludw8Eomh4?si=KAOSyEHnXuxgIg_n&t=430

mglaman’s picture

It doesn't seem like composer config minimun-stability dev would fix it. The requested version was

1.0.0-alpha5 
 

but Composer says the only versions are dev-1.0.x, 1.0.x-dev

mglaman’s picture

I think I found the problem:

composer require 'drupal/schemadotorg_demo-schemadotorg_demo:^1.0@alpha'

Notice how the package name for composer is schemadotorg_demo-schemadotorg_demo? Something else is holding onto schemadotorg_demo. I bet the latter does not have an alpha release.

mglaman’s picture

I looked at the API and there is nothing about the Composer package name: https://www.drupal.org/api-d7/node/3319147.json

mglaman’s picture

The release does not contain the Composer package name either: https://www.drupal.org/api-d7/node/3448370.json