Describe the bug
Unable to install farmos via composer. Failed with composer command and also with composer.json file on github
To Reproduce
Steps to reproduce the behavior:
- Running the command "composer create-project farmos/project" in win 11 terminal produced following error: Creating a "farmos/project" project at "./project"
Info from https://repo.packagist.org: #StandWithUkraine
In CreateProjectCommand.php line 424:
Could not find package farmos/project with stability stable.
- Tried to install with composer.json file from the github here. Got this error:
composer create-project
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- farmos/farmos[2.0.0-rc1, ..., 2.x-dev] require drupal/simple_oauth 5.2.3 -> satisfiable by drupal/simple_oauth[5.2.3].
- farmos/farmos[2.0.0-beta8, ..., 2.0.0-beta8.1] require drupal/simple_oauth 5.2.2 -> satisfiable by drupal/simple_oauth[5.2.2].
- farmos/farmos[2.0.0-beta6, ..., 2.0.0-beta7] require drupal/simple_oauth 5.0.6 -> satisfiable by drupal/simple_oauth[5.0.6].
- drupal/simple_oauth[5.2.1, ..., 5.2.x-dev] require steverhoades/oauth2-openid-connect-server ^2.4 -> satisfiable by steverhoades/oauth2-openid-connect-server[v2.4.0, v2.5.0].
- drupal/simple_oauth[5.0.3, ..., 5.0.x-dev] require lcobucci/jwt ^3.4 -> satisfiable by lcobucci/jwt[3.4.0, ..., 3.4.x-dev].
- steverhoades/oauth2-openid-connect-server v2.4.0 requires lcobucci/jwt 4.1.5 -> satisfiable by lcobucci/jwt[4.1.5].
- steverhoades/oauth2-openid-connect-server v2.5.0 requires lcobucci/jwt 4.1.5|^4.2 -> satisfiable by lcobucci/jwt[4.1.5, ..., 4.4.x-dev].
- farmos/farmos[2.0.0-alpha1, ..., 2.0.0-alpha2] require npm-asset/farmos.org--farmos-map ^1.4 -> could not be found in any version, there may be a typo in the package name.
- farmos/farmos[2.0.0-alpha3, ..., 2.0.0-beta5] require ext-simplexml ^7.4 -> it has the wrong version installed (8.2.4).
- lcobucci/jwt[3.3.0, ..., 3.4.x-dev] require php ^5.6 || ^7.0 -> your php version (8.2.4) does not satisfy that requirement.
- lcobucci/jwt[4.1.5, ..., 4.4.x-dev] require ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.
- Root composer.json requires farmos/farmos ^2.0 -> satisfiable by farmos/farmos[2.0.0-alpha1, ..., 2.x-dev].
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
To enable extensions, verify that they are enabled in your .ini files:
- C:\xampp\php\php.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-simplexml --ignore-platform-req=ext-sodium to temporarily ignore these required extensions.
Expected behavior
I expected farmOs files and dependencies to be downloaded to my local directory
Screenshots


Desktop (please complete the following information):
- OS: Windows 11
- Browser NA
- Version NA
Additional context
I used Composer version 2.5.5 2023-03-21 11:50:05
Describe the bug
Unable to install farmos via composer. Failed with composer command and also with composer.json file on github
To Reproduce
Steps to reproduce the behavior:
Info from https://repo.packagist.org: #StandWithUkraine
In CreateProjectCommand.php line 424:
Could not find package farmos/project with stability stable.
composer create-project
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- farmos/farmos[2.0.0-rc1, ..., 2.x-dev] require drupal/simple_oauth 5.2.3 -> satisfiable by drupal/simple_oauth[5.2.3].
- farmos/farmos[2.0.0-beta8, ..., 2.0.0-beta8.1] require drupal/simple_oauth 5.2.2 -> satisfiable by drupal/simple_oauth[5.2.2].
- farmos/farmos[2.0.0-beta6, ..., 2.0.0-beta7] require drupal/simple_oauth 5.0.6 -> satisfiable by drupal/simple_oauth[5.0.6].
- drupal/simple_oauth[5.2.1, ..., 5.2.x-dev] require steverhoades/oauth2-openid-connect-server ^2.4 -> satisfiable by steverhoades/oauth2-openid-connect-server[v2.4.0, v2.5.0].
- drupal/simple_oauth[5.0.3, ..., 5.0.x-dev] require lcobucci/jwt ^3.4 -> satisfiable by lcobucci/jwt[3.4.0, ..., 3.4.x-dev].
- steverhoades/oauth2-openid-connect-server v2.4.0 requires lcobucci/jwt 4.1.5 -> satisfiable by lcobucci/jwt[4.1.5].
- steverhoades/oauth2-openid-connect-server v2.5.0 requires lcobucci/jwt 4.1.5|^4.2 -> satisfiable by lcobucci/jwt[4.1.5, ..., 4.4.x-dev].
- farmos/farmos[2.0.0-alpha1, ..., 2.0.0-alpha2] require npm-asset/farmos.org--farmos-map ^1.4 -> could not be found in any version, there may be a typo in the package name.
- farmos/farmos[2.0.0-alpha3, ..., 2.0.0-beta5] require ext-simplexml ^7.4 -> it has the wrong version installed (8.2.4).
- lcobucci/jwt[3.3.0, ..., 3.4.x-dev] require php ^5.6 || ^7.0 -> your php version (8.2.4) does not satisfy that requirement.
- lcobucci/jwt[4.1.5, ..., 4.4.x-dev] require ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.
- Root composer.json requires farmos/farmos ^2.0 -> satisfiable by farmos/farmos[2.0.0-alpha1, ..., 2.x-dev].
Potential causes:
see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
To enable extensions, verify that they are enabled in your .ini files:
- C:\xampp\php\php.ini
You can also run
php --iniin a terminal to see which files are used by PHP in CLI mode.Alternatively, you can run Composer with
--ignore-platform-req=ext-simplexml --ignore-platform-req=ext-sodiumto temporarily ignore these required extensions.Expected behavior
I expected farmOs files and dependencies to be downloaded to my local directory
Screenshots


Desktop (please complete the following information):
Additional context
I used Composer version 2.5.5 2023-03-21 11:50:05