Error trying to install Media Library Manager

When i try to install Media Library Manager i get the following error. Im running laravel 10.
No description
Solution:
"prefer-stable" was on false
Jump to solution
17 Replies
awcodes
awcodes14mo ago
You need to upgrade your laravel tags version first.
Faab007NL
Faab007NLOP14mo ago
spatie/laravel-tags[3.0.1, ..., v3.x-dev, 4.0.0] require laravel/framework ^8.0 -> found laravel/framework[v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^10.10)
spatie/laravel-tags[3.0.1, ..., v3.x-dev, 4.0.0] require laravel/framework ^8.0 -> found laravel/framework[v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^10.10)
Problem 1
- spatie/laravel-tags[3.0.1, ..., v3.x-dev, 4.0.0] require laravel/framework ^8.0 -> found laravel/framework[v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^10.10).
- spatie/laravel-tags[dev-dependabot/github_actions/stefanzweifel/git-auto-commit-action-5, dev-dependabot/github_actions/actions/checkout-4, dev-main, 4.3.6, ..., 4.5.1] require spatie/eloquent-sortable ^3.10|^4.0 -> found spatie/eloquent-sortable[3.10.0, 3.11.0, 4.0.0, 4.0.1, 4.0.2] but it conflicts with your root composer.json require (dev-main).
- spatie/laravel-tags[0.0.1, 1.0.0, ..., 1.4.1, 2.0.0, ..., 2.1.5] require php ^7.0 -> your php version (8.2.10) does not satisfy that requirement.
- spatie/laravel-tags[2.1.6, ..., 2.2.2] require php ^7.1 -> your php version (8.2.10) does not satisfy that requirement.
- spatie/laravel-tags[2.3.0, ..., 2.7.2] require php ^7.2 -> your php version (8.2.10) does not satisfy that requirement.
- spatie/laravel-tags 3.0.0 requires php ^7.4 -> your php version (8.2.10) does not satisfy that requirement.
- spatie/laravel-tags[4.0.1, ..., 4.0.4] require laravel/framework ^8.12 -> found laravel/framework[v8.12.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^10.10).
- spatie/laravel-tags[4.0.5, ..., 4.2.1] require laravel/framework ^8.67 -> found laravel/framework[v8.67.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^10.10).
- spatie/laravel-tags[4.3.0, ..., 4.3.5] require laravel/framework ^8.67|^9.0 -> found laravel/framework[v8.67.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev] but it conflicts with your root composer.json require (^10.10).
- Root composer.json requires spatie/laravel-tags * -> satisfiable by spatie/laravel-tags[dev-dependabot/github_actions/stefanzweifel/git-auto-commit-action-5, dev-dependabot/github_actions/actions/checkout-4, dev-main, 0.0.1, 1.0.0, ..., 1.4.1, 2.0.0, ..., 2.7.2, 3.0.0, ..., v3.x-dev, 4.0.0, ..., 4.5.1].
Problem 1
- spatie/laravel-tags[3.0.1, ..., v3.x-dev, 4.0.0] require laravel/framework ^8.0 -> found laravel/framework[v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^10.10).
- spatie/laravel-tags[dev-dependabot/github_actions/stefanzweifel/git-auto-commit-action-5, dev-dependabot/github_actions/actions/checkout-4, dev-main, 4.3.6, ..., 4.5.1] require spatie/eloquent-sortable ^3.10|^4.0 -> found spatie/eloquent-sortable[3.10.0, 3.11.0, 4.0.0, 4.0.1, 4.0.2] but it conflicts with your root composer.json require (dev-main).
- spatie/laravel-tags[0.0.1, 1.0.0, ..., 1.4.1, 2.0.0, ..., 2.1.5] require php ^7.0 -> your php version (8.2.10) does not satisfy that requirement.
- spatie/laravel-tags[2.1.6, ..., 2.2.2] require php ^7.1 -> your php version (8.2.10) does not satisfy that requirement.
- spatie/laravel-tags[2.3.0, ..., 2.7.2] require php ^7.2 -> your php version (8.2.10) does not satisfy that requirement.
- spatie/laravel-tags 3.0.0 requires php ^7.4 -> your php version (8.2.10) does not satisfy that requirement.
- spatie/laravel-tags[4.0.1, ..., 4.0.4] require laravel/framework ^8.12 -> found laravel/framework[v8.12.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^10.10).
- spatie/laravel-tags[4.0.5, ..., 4.2.1] require laravel/framework ^8.67 -> found laravel/framework[v8.67.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^10.10).
- spatie/laravel-tags[4.3.0, ..., 4.3.5] require laravel/framework ^8.67|^9.0 -> found laravel/framework[v8.67.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev] but it conflicts with your root composer.json require (^10.10).
- Root composer.json requires spatie/laravel-tags * -> satisfiable by spatie/laravel-tags[dev-dependabot/github_actions/stefanzweifel/git-auto-commit-action-5, dev-dependabot/github_actions/actions/checkout-4, dev-main, 0.0.1, 1.0.0, ..., 1.4.1, 2.0.0, ..., 2.7.2, 3.0.0, ..., v3.x-dev, 4.0.0, ..., 4.5.1].
Full error ^^
awcodes
awcodes14mo ago
Something is preventing you from upgrading some of your packages. Latest tags is 4.5.1.
Faab007NL
Faab007NLOP14mo ago
Is there a way to update all packages? Is that composer update?
awcodes
awcodes14mo ago
Yes. But it sounds like something is locked to a specific version.
Faab007NL
Faab007NLOP14mo ago
My composer file does not have laravel-tags
awcodes
awcodes14mo ago
What does the require key in your composer.json look like.?
Faab007NL
Faab007NLOP14mo ago
"require": {
"php": "^8.1",
"ext-gmp": "*",
"ext-intl": "*",
"archilex/filament-toggle-icon-column": "2.x-dev",
"ariaieboy/filament-currency": "dev-main",
"awcodes/filament-tiptap-editor": "3.x-dev",
"awcodes/overlook": "2.x-dev",
"bezhansalleh/filament-exceptions": "dev-main",
"bezhansalleh/filament-google-analytics": "dev-main",
"bezhansalleh/filament-panel-switch": "3.x-dev",
"blade-ui-kit/blade-icons": "1.x-dev",
"czproject/git-php": "^4.2",
"embed/embed": "^4.4",
"filament/filament": "^3.0-stable",
"filament/spatie-laravel-media-library-plugin": "^3.0-stable",
"filament/spatie-laravel-settings-plugin": "^3.0-stable",
"graham-campbell/markdown": "^15.0",
"guava/filament-icon-picker": "2.0.2",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"league/commonmark": "*",
"njxqlus/filament-progressbar": "dev-main",
"owenvoke/blade-fontawesome": "dev-main",
"pxlrbt/filament-activity-log": "dev-main",
"saade/filament-extra": "3.x-dev",
"shuvroroy/filament-spatie-laravel-health": "dev-main",
"socialiteproviders/discord": "^4.1",
"spatie/browsershot": "^3.58",
"spatie/eloquent-sortable": "dev-main",
"spatie/laravel-data": "dev-main",
"spatie/laravel-markdown": "dev-main",
"spatie/laravel-permission": "^5.10",
"spatie/laravel-settings": "^3.2",
"zoon/commonmark-ext-youtube-iframe": "*"
}
"require": {
"php": "^8.1",
"ext-gmp": "*",
"ext-intl": "*",
"archilex/filament-toggle-icon-column": "2.x-dev",
"ariaieboy/filament-currency": "dev-main",
"awcodes/filament-tiptap-editor": "3.x-dev",
"awcodes/overlook": "2.x-dev",
"bezhansalleh/filament-exceptions": "dev-main",
"bezhansalleh/filament-google-analytics": "dev-main",
"bezhansalleh/filament-panel-switch": "3.x-dev",
"blade-ui-kit/blade-icons": "1.x-dev",
"czproject/git-php": "^4.2",
"embed/embed": "^4.4",
"filament/filament": "^3.0-stable",
"filament/spatie-laravel-media-library-plugin": "^3.0-stable",
"filament/spatie-laravel-settings-plugin": "^3.0-stable",
"graham-campbell/markdown": "^15.0",
"guava/filament-icon-picker": "2.0.2",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"league/commonmark": "*",
"njxqlus/filament-progressbar": "dev-main",
"owenvoke/blade-fontawesome": "dev-main",
"pxlrbt/filament-activity-log": "dev-main",
"saade/filament-extra": "3.x-dev",
"shuvroroy/filament-spatie-laravel-health": "dev-main",
"socialiteproviders/discord": "^4.1",
"spatie/browsershot": "^3.58",
"spatie/eloquent-sortable": "dev-main",
"spatie/laravel-data": "dev-main",
"spatie/laravel-markdown": "dev-main",
"spatie/laravel-permission": "^5.10",
"spatie/laravel-settings": "^3.2",
"zoon/commonmark-ext-youtube-iframe": "*"
}
"require-dev": {
"barryvdh/laravel-debugbar": "^3.8",
"doctrine/dbal": "^3.6",
"fakerphp/faker": "^1.9.1",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.1",
"spatie/laravel-ignition": "^2.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.8",
"doctrine/dbal": "^3.6",
"fakerphp/faker": "^1.9.1",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.1",
"spatie/laravel-ignition": "^2.0"
},
awcodes
awcodes14mo ago
Why are you linking to so many dev repos. My guess is it’s something in one of those.
Faab007NL
Faab007NLOP14mo ago
What do you mean with linking?
awcodes
awcodes14mo ago
When you use a version like “dev-main” etc you’re not pulling in the released version of the packages. You would typically do that with a forked local copy of a repo. And if you’re doing that then you’d have to manually merge any any updates to those packages into your local version.
Faab007NL
Faab007NLOP14mo ago
Ah it defaults to dev-main cus i have minimum-stability set to dev
awcodes
awcodes14mo ago
It shouldn’t.
Solution
Faab007NL
Faab007NL14mo ago
"prefer-stable" was on false
awcodes
awcodes14mo ago
There it is. Like Tiptap editor should be “^3.0” not “3.x-dev”
Faab007NL
Faab007NLOP14mo ago
All working now. Thx for the help. Other quest does Media Library Manager have a media management page? Nevermind alread see it
Want results from more Discord servers?
Add your server