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

Laravel 9 installation issue #59

Open
edumicro opened this issue Feb 28, 2022 · 3 comments
Open

Laravel 9 installation issue #59

edumicro opened this issue Feb 28, 2022 · 3 comments

Comments

@edumicro
Copy link

composer require nwidart/laravel-menus -W
Using version ^7.0 for nwidart/laravel-menus
./composer.json has been updated
Running composer update nwidart/laravel-menus --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires nwidart/laravel-menus ^7.0 -> satisfiable by nwidart/laravel-menus[7.0].
- nwidart/laravel-menus 7.0 requires laravelcollective/html 6.2.* -> found laravelcollective/html[v6.2.0, v6.2.1] but it conflicts with your root composer.json require (^6.3).

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

It can be solved changing the lines

"require": {
"php": ">=7.3",
"illuminate/support": "^8.0",
"illuminate/config": "^8.0",
"illuminate/view": "^8.0",
"laravelcollective/html": "6.2.*"
},

to

"require": {
"php": ">=7.3",
"illuminate/support": ">=8.0",
"illuminate/config": ">=8.0",
"illuminate/view": ">=8.0",
"laravelcollective/html": ">=6"
},

No problems on my needs, but futher tests should be passed

@hirenpatel1903
Copy link

Small changes this composer.json file.

"require": {
"php": ">=7.3",
"illuminate/support": ">=8.0",
"illuminate/config": ">=8.0",
"illuminate/view": ">=8.0",
"laravelcollective/html": ">=6"
},

@asadcse100
Copy link

asadcse100 commented Nov 23, 2022

"require": {
    "php": ">=7.3",
    "illuminate/support": ">=8.0",
    "illuminate/config": ">=8.0",
    "illuminate/view": ">=8.0",
    "guzzlehttp/guzzle": "^7.2",
    "laravel/framework": "^9.19",
    "laravel/sanctum": "^3.0",
    "laravel/tinker": "^2.7",
    "laravelcollective/html": ">=6"
},

Used but can`t this solved

Problem 1
- Root composer.json requires nwidart/laravel-menus ^7.0 -> satisfiable by nwidart/laravel-menus[7.0].
- nwidart/laravel-menus 7.0 requires illuminate/support ^8.0 -> found illuminate/support[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.

You can also try re-running composer require with an explicit version constraint, e.g. "composer require nwidart/laravel-menus:*" to figure out if any version is installable, or "composer require nwidart/laravel-menus:^2.1" if you know which you need.

@xxallanxx
Copy link

Também não consegui instalar no laravel 9, alguém sabe quando vai estar disponivel ?

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