- Issue created by @dianacastillo
- 🇮🇳India ravi kant Jaipur
@dianacastillo
The issue may be due to compatibility issue so follow the URL https://www.drupal.org/docs/drupal-distributions/open-social/installing-open-social#s-20open-social-compatibility-and-support-for-php-and-drupal-core → - 🇺🇸United States dianacastillo Miami
Ravi that link you just sent me was written last april. since then they have come out with open social 12 which is not mentioned in that article.
- Status changed to Postponed: needs info
6 months ago 10:46am 3 January 2024 - 🇳🇱Netherlands Kingdutch
Please provide the steps you used before you got the error.
social_core
should be enabled as part of the Drupal installation with the Open Social profile. The error you're getting suggests you're manually trying to install it within another Drupal project, which is not supported. - 🇺🇸United States dianacastillo Miami
hi, please give me the steps to install open social as part of the drupal 10 installation, the instructions are not clear.
- 🇺🇸United States dianacastillo Miami
I installed drupal 10 with lando and then ran
composer require goalgorilla/open_social:~12.0.0
but got these errors :Your requirements could not be resolved to an installable set of packages.
Problem 1
- goalgorilla/open_social[12.0.0, ..., 12.0.2] require drupal/advancedqueue 1.0.0-rc7 -> found drupal/advancedqueue[1.0.0-rc7] but it does not match your minimum-stability.
- Root composer.json requires goalgorilla/open_social ~12.0.0 -> satisfiable by goalgorilla/open_social[12.0.0, 12.0.1, 12.0.2].
Installation failed, reverting ./composer.json and ./composer.lock to their original content. - 🇳🇱Netherlands Kingdutch
Hi Diana,
Could you share the composer.json file?
composer create-project goalgorilla/social_template:dev-master DIRECTORY --no-interaction
should already create a directory which includes Open Social 12 and Drupal 10, so I'm not surecomposer require goalgorilla/open_social:~12.0.0
is needed. However the duplicate configuration wouldn't show up until you actually rundrush
rather than Composer so it sounds like we're maybe missing some context to help you.I'm not familiar with Lando so I can't provide support for that tool (we use Docker Desktop for development and Platform.sh for hosting).
For the minimum stability I'm going to quote my answer from Slack. The minimum stability should be correct for the folder which you created from the template (that should be done on an empty directory), it might not be correct if you start out with a different root composer.json file.
The `minimum-stability` is a flag for the root-composer and is not affected by other projects. So it's not installing Drupal core first, it's how you create the root composer.json file :slightly_smiling_face: See https://getcomposer.org/doc/04-schema.md#minimum-stability
[The Open Social template](https://github.com/goalgorilla/social_template/blob/master/composer.json#L6) currently sets the minimum-stability to `dev` but I think `alpha` should probably work now too though we have in the past required dev versions for compatibility with newer Drupal versions.