Skip to content

Conversation

@aprendible
Copy link

Poblem

When requiring the cloudcreativity/laravel-json-api (2.0.0-beta.1) from a fresh installation of Laravel 7 I'm getting the next error:

Problem 1
    - Installation request for cloudcreativity/laravel-json-api 2.0.0-beta.1 -> satisfiable by cloudcreativity/laravel-json-api[v2.0.0-beta.1].
    - Conclusion: remove ramsey/uuid 4.0.1
    - Conclusion: don't install ramsey/uuid 4.0.1
    - cloudcreativity/laravel-json-api v2.0.0-beta.1 requires ramsey/uuid ^3.0 -> satisfiable by ramsey/uuid[3.0.0, 3.0.0-alpha1, 3.0.0-alpha2, 3.0.0-alpha3, 3.0.0-beta1, 3.0.1, 3.1.0, 3.2.0, 3.3.0, 3.4.0, 3.4.1, 3.5.0, 3.5.1, 3.5.2, 3.6.0, 3.6.1, 3.7.0, 3.7.1, 3.7.2, 3.7.3, 3.8.0, 3.9.0, 3.9.1, 3.9.2, 3.9.3, 3.x-dev].
    - Can only install one of: ramsey/uuid[3.7.0, 4.0.1].
    - Can only install one of: ramsey/uuid[3.7.1, 4.0.1].
    - Can only install one of: ramsey/uuid[3.7.2, 4.0.1].
    - Can only install one of: ramsey/uuid[3.7.3, 4.0.1].
    - Can only install one of: ramsey/uuid[3.8.0, 4.0.1].
    - Can only install one of: ramsey/uuid[3.9.0, 4.0.1].
    - Can only install one of: ramsey/uuid[3.9.1, 4.0.1].
    - Can only install one of: ramsey/uuid[3.9.2, 4.0.1].
    - Can only install one of: ramsey/uuid[3.9.3, 4.0.1].
    - Can only install one of: ramsey/uuid[3.x-dev, 4.0.1].
    - Can only install one of: ramsey/uuid[3.0.0, 4.0.1].
    - Can only install one of: ramsey/uuid[3.0.0-alpha1, 4.0.1].
    - Can only install one of: ramsey/uuid[3.0.0-alpha2, 4.0.1].
    - Can only install one of: ramsey/uuid[3.0.0-alpha3, 4.0.1].
    - Can only install one of: ramsey/uuid[3.0.0-beta1, 4.0.1].
    - Can only install one of: ramsey/uuid[3.0.1, 4.0.1].
    - Can only install one of: ramsey/uuid[3.1.0, 4.0.1].
    - Can only install one of: ramsey/uuid[3.2.0, 4.0.1].
    - Can only install one of: ramsey/uuid[3.3.0, 4.0.1].
    - Can only install one of: ramsey/uuid[3.4.0, 4.0.1].
    - Can only install one of: ramsey/uuid[3.4.1, 4.0.1].
    - Can only install one of: ramsey/uuid[3.5.0, 4.0.1].
    - Can only install one of: ramsey/uuid[3.5.1, 4.0.1].
    - Can only install one of: ramsey/uuid[3.5.2, 4.0.1].
    - Can only install one of: ramsey/uuid[3.6.0, 4.0.1].
    - Can only install one of: ramsey/uuid[3.6.1, 4.0.1].
    - Installation request for ramsey/uuid (locked at 4.0.1) -> satisfiable by ramsey/uuid[4.0.1].


Installation failed, reverting ./composer.json to its original content.

Solution

I upgraded the ramsey/uuid from 3 to 4, and now it's working on a fresh install of Laravel 7

@lindyhopchris
Copy link
Member

Hi! Thanks for submitting this as I wasn't aware that Laravel had changed the UUID version. I'm not going to merge this PR as I'd prefer the UUID dependency to be ^3.0|^4.0 seeing as this package does actually work with v3 of the UUID package.

I thought it would just be easier for me to make that change myself, rather than merge this PR. It will be in the next release (which is 2.0.0-beta.2).

lindyhopchris added a commit that referenced this pull request Apr 12, 2020
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

Successfully merging this pull request may close these issues.

2 participants