Can not install theme-tabler because of composer conflict #1369
Replies: 3 comments 1 reply
-
The error you're seeing is due to a version conflict between the version of backpack/crud required by backpack/theme-tabler and the version you have specified in your composer.json. Specifically, backpack/theme-tabler v1.2.x requires backpack/crud ^6.2.1, but your composer.json is requiring backpack/crud ^7.0@dev, which is not compatible. This kind of conflict happens when you try to install a package (theme-tabler) that depends on a specific version range of another package (crud), but your project is set to use a different, incompatible version. How to resolve:
Recommendation: "require": {
"backpack/crud": "^6.2.1",
"backpack/theme-tabler": "^1.2",
// ... other dependencies
} Then run:
If you specifically need to use dev versions or are testing Backpack 7.x, you will need to wait for the theme-tabler package to add support for that version. Extra tip:
But this will only work if your required versions are compatible. Summary: This is a common scenario when a new major version of Backpack is released and not all add-ons have been updated yet to support it. The knowledge sources confirm that such version conflicts are resolved by aligning your package versions to those that are compatible with each other, as described in the official upgrade guide and various community discussions. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: Github Issue (closed): Unable to install Backpack |
Beta Was this translation helpful? Give feedback.
-
If you want to use the "beta version" you also need to pull the "beta package" versions. Please remove theme tabler from your Let us know if you are experiencing any other issues 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi, removing the theme-tabler from composer.json didn't work but thanks to your suggestion I've:
then when I run thank you for your time |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When running backpack:install I've got the error
This happens just after selecting the tabler theme
Can you please help to clarify what is going on?
I've attached my composer.json and composer.lock (renamed beacause github complains about extension)
composer.json.txt
composer.lock.txt
Beta Was this translation helpful? Give feedback.
All reactions