Unable to install Laravel/passport
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 19
- Joined: 06 Mar 2021, 14:51
Unable to install Laravel/passport
Iam a newbie, I get the below error when I do composer require laravel/passport, How do i resolve this.
Problem 1
- laravel/passport[v10.1.0, ..., 10.x-dev] require illuminate/auth ^8.2 -> found illuminate/auth[v8.2.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires laravel/passport ^10.1 -> satisfiable by laravel/passport[v10.1.0, v10.1.1, v10.1.2, 10.x-dev].
Using
"php": "^7.2||^8.0",
"laravel/framework": "^6.20.12",
"aimeos/aimeos-laravel": "~2020.10"
Problem 1
- laravel/passport[v10.1.0, ..., 10.x-dev] require illuminate/auth ^8.2 -> found illuminate/auth[v8.2.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires laravel/passport ^10.1 -> satisfiable by laravel/passport[v10.1.0, v10.1.1, v10.1.2, 10.x-dev].
Using
"php": "^7.2||^8.0",
"laravel/framework": "^6.20.12",
"aimeos/aimeos-laravel": "~2020.10"
- Attachments
-
- screenshot
- Capture.PNG (36.76 KiB) Viewed 5597 times
-
- Posts: 19
- Joined: 06 Mar 2021, 14:51
Re: Unable to install Laravel/passport
I found the solution and I used the suitable passport version and resolved it.
I used "laravel/passport": "9.4.0",
I used "laravel/passport": "9.4.0",