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

Unable to install with Kirby v4 via composer #41

Closed
srijan opened this issue Nov 28, 2023 · 5 comments
Closed

Unable to install with Kirby v4 via composer #41

srijan opened this issue Nov 28, 2023 · 5 comments

Comments

@srijan
Copy link

srijan commented Nov 28, 2023

The composer.json in the current release requires "getkirby/cms": "^3.7",, which ^4.0.0 does not satisfy.

Full error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - oblik/kirby-git[1.0.0, ..., 1.1.0] require getkirby/cms ^3.3 -> found getkirby/cms[3.3.0, ..., 3.9.8] but it conflicts with your root composer.json require (^4.0.0).
    - oblik/kirby-git 1.2.0 requires getkirby/cms ^3.4 -> found getkirby/cms[3.4.0, ..., 3.9.8] but it conflicts with your root composer.json require (^4.0.0).
    - oblik/kirby-git 1.3.0 requires getkirby/cms ^3.6 -> found getkirby/cms[3.6.0, ..., 3.9.8] but it conflicts with your root composer.json require (^4.0.0).
    - oblik/kirby-git 1.4.0 requires getkirby/cms ^3.7 -> found getkirby/cms[3.7.0, ..., 3.9.8] but it conflicts with your root composer.json require (^4.0.0).
    - Root composer.json requires oblik/kirby-git * -> satisfiable by oblik/kirby-git[1.0.0, ..., 1.4.0].

(Originally published at: https://srijan.ch/notes/2023-11-28-001)

@samyouel
Copy link

samyouel commented Dec 6, 2023

so that means I can't use it for Kirby 4 anymore? Awesome. :D
Anyone git (lol) an alternative?

@hdodov
Copy link
Contributor

hdodov commented Jan 30, 2024

Sorry, I've been busy lately. I'll try to make the plugin compatible with Kirby 4. In the meantime, PRs are welcome!

@coheredigital
Copy link

You can work around this by using an alias version in composer when installing Kirby 4.

"getkirby/cms": "4.1.0 as 3.9.8"

This of course means all your packages will now be checking their compatibility against version 3.9.8. Depending on the number of plugins your using this may not be worth the potential issues. Just wanted to share.

@hdodov
Copy link
Contributor

hdodov commented Feb 4, 2024

I've published version 2.0.0 with support for Kirby 4. Could you try it out and let me know if it works?

@coheredigital
Copy link

Hey @hdodov, update looks to be working well for me. Thanks!

@hdodov hdodov closed this as completed Feb 10, 2024
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