Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer installation error #1

Closed
Wazarr94 opened this issue Sep 30, 2019 · 3 comments
Closed

Composer installation error #1

Wazarr94 opened this issue Sep 30, 2019 · 3 comments

Comments

@Wazarr94
Copy link

Wazarr94 commented Sep 30, 2019

Hi,

I'm trying to run this project using the composer way. (also, the README says to run compose require nicklog/fut-api but I believe it's supposed to be shapecode/fut-api)
However, I'm getting the following error :


  Problem 1
    - Installation request for shapecode/fut-api ^19.0 -> satisfiable by shapecode/fut-api[19.0.0].
    - shapecode/fut-api 19.0.0 requires shapecode/anticaptcha ^1.0 -> satisfiable by shapecode/anticaptcha[1.0.x-dev] but these conflict with your requirements or minimum-stability.

Any ideas ? Thanks for the project btw, looking clean

@nicklog
Copy link
Contributor

nicklog commented Oct 1, 2019

Hey,

first of all you are using the wrong version. fut 19 doesnt exist anymore and fut20 is now online.
compose require nicklog/fut-api ~20.0

Second, you have to change settings in your composer.json to allow non-stable releases.
You can see this by this message but these conflict with your requirements or minimum-stability
https://getcomposer.org/doc/04-schema.md#minimum-stability

This library is a the moment in an non-stable state and is still WIP (Work in Progress).

@mustafaozdemir
Copy link

Hello,
My composer minimum-stability = "dev" but
composer require nicklog/fut-api ~20.0 gives

[InvalidArgumentException] Could not find a matching version of package nicklog/fut-api. Check the package spelling, your versi on constraint and that the package is available in a stability which matches your minimum-stability (dev).

@tmac14
Copy link

tmac14 commented Oct 22, 2019

First add in composer.json:

  • "minimun-stability": "dev",
  • "prefer-stable": true

Then:

  • composer require shapecode/fut-api "~20.0".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants