wolfgang-demeter / smf2flarum

Migration script from SMF to Flarum.
MIT License
2 stars 0 forks source link

Flarum API issue #1

Closed acseven closed 2 years ago

acseven commented 2 years ago

Hi, Thanks a bunch for sharing this script.

When trying to install flarum-api-client I'm getting version conflict issues and can't get past this.

Do you have any idea on how to manage this?

composer require flagrow/flarum-api-client -W
Using version ^0.1.2 for flagrow/flarum-api-client
./composer.json has been updated
Running composer update flagrow/flarum-api-client --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires flagrow/flarum-api-client ^0.1.2 -> satisfiable by flagrow/flarum-api-client[0.1.2].
    - flagrow/flarum-api-client 0.1.2 requires guzzlehttp/guzzle ^6.1.1 -> found guzzlehttp/guzzle[6.1.1, ..., 6.5.5] but it conflicts with your root composer.json require (^7.4).
  Problem 2
    - flarum/core is locked to version v1.2.0 and an update of this package was not requested.
    - flarum/core v1.2.0 requires illuminate/contracts ^8.0 -> found illuminate/contracts[v8.0.0, ..., v8.80.0] but it conflicts with another require.
  Problem 3
    - flarum/core v1.2.0 requires illuminate/contracts ^8.0 -> found illuminate/contracts[v8.0.0, ..., v8.80.0] but it conflicts with another require.
    - fof/user-bio 1.0.1 requires flarum/core ^1.0.0 -> satisfiable by flarum/core[v1.2.0].
    - fof/user-bio is locked to version 1.0.1 and an update of this package was not requested.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
acseven commented 2 years ago

Sorted by using the alternative:

composer require maicol07/flarum-api-client