unable to install laravel dusk dashboard - installation

i am trying to install dusk dashborad by this command:
composer require beyondcode/dusk-dashboard --dev
but unable to install
when tried to install, it gives the error for "guzzlehttp/guzzle" version.
Problem 1
- Root composer.json requires beyondcode/dusk-dashboard ^2.0 -> satisfiable by beyondcode/dusk-dashboard[2.0.0].
- beyondcode/dusk-dashboard 2.0.0 requires guzzlehttp/guzzle ^6.3 -> found guzzlehttp/guzzle[6.3.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (7.0).
Use the option --with-all-dependencies (-W) to allow upgrades,
downgrades and removals for packages currently locked to specific
versions.
tried downgrading to guzzlehttp/guzzle to ^6.3 but then it gives this error:
Problem 1
- Root composer.json requires beyondcode/dusk-dashboard ^2.0 -> satisfiable by beyondcode/dusk-dashboard[2.0.0].
- beyondcode/dusk-dashboard 2.0.0 requires illuminate/console 5.6.|5.7.|5.8.|6.|7.* -> found illuminate/console[v5.6.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but these were not loaded, likely because it conflicts with another require.
but after installing the correct version asked in the error which is ^6.3 ,it gives this error:
i also tried updating option --wtin-all-depandencies. but did not resolve.

I think the maintainer is not actively maintaining the package. The last commit was May 30, 2020, to make it compatible with Laravel 7.

Related

Composer package conflict when updating guzzlehttp

laravel version is 5.8, When I write this command in cmd,
composer require guzzlehttp/guzzle
I get the below problems:
Using version ^7.5 for guzzlehttp/guzzle
./composer.json has been updated
Running composer update guzzlehttp/guzzle
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 guzzlehttp/guzzle ^7.5, found guzzlehttp/guzzle[dev-master, 7.5.0, 7.5.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 2
- Root composer.json requires netflie/whatsapp-cloud-api ^1.3 -> satisfiable by netflie/whatsapp-cloud-api[1.3.0].
- netflie/whatsapp-cloud-api 1.3.0 requires guzzlehttp/guzzle ^7.0 -> found guzzlehttp/guzzle[dev-master, 7.0.0-beta.1, ..., 7.5.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 3
- php-http/guzzle6-adapter v1.1.1 requires guzzlehttp/guzzle ^6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.5).
- nexmo/laravel 1.1.2 requires nexmo/client ^1.0 -> satisfiable by nexmo/client[1.9.1].
- nexmo/client 1.9.1 requires php-http/guzzle6-adapter ^1.0 -> satisfiable by php-http/guzzle6-adapter[v1.1.1].
- nexmo/laravel is locked to version 1.1.2 and an update of this package was not requested.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require guzzlehttp/guzzle:*" to figure out if any version is installable, or "composer require guzzlehttp/guzzle:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
It's troublesome, and it seems like a catch22 situation and I cannot figure out the problem.

Installation error on laravel shopify osiset

I'm trying to create a laravel app on shopify but when I tried to run the command
composer require osiset/laravel-shopify
it returns error, the error says:
Problem 1
Root composer.json requires osiset/laravel-shopify ^17.1 -> satisfiable by osiset/laravel-shopify[v17.1.0, 17.1.x-dev].
osiset/laravel-shopify[v17.1.0, ..., 17.1.x-dev] require laravel/framework ^7.0 || ^8.0 -> found laravel/framework[v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^9.2).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require osiset/laravel-shopify:*" to figure out if any version is installable, or "composer require osiset/laravel-shopify:^2.1" if you know which you need.
thank you for helping me
Try this command
composer create-project laravel/laravel example-app "8.*"

Why haven't install predis on laravel 8

According laravel manual https://laravel.com/docs/8.x/redis for install predis, need run: composer require predis/predis. When that command is running (for laravel 8) - appear next Error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- facade/ignition is locked to version 2.4.2 and an update of this package was not requested.
- facade/ignition 2.4.2 requires php ^7.2.5 -> your php version (8.0.0) does not satisfy that requirement.
Problem 2
- facade/ignition-contracts 1.0.1 requires php ^7.1 -> your php version (8.0.0) does not satisfy that requirement.
- nunomaduro/collision v4.3.0 requires facade/ignition-contracts ^1.0 -> satisfiable by facade/ignition-contracts[1.0.1].
- nunomaduro/collision is locked to version v4.3.0 and an update of this package was not requested.
In my composer.json: "php": "^7.2.5|^8.0",
What here is wrong))?
You need to update facade/ignition and nunomaduro/collision first to support PHP 8 in your project.
Running the following commands should update them accordingly.
composer require --dev facade/ignition nunomaduro/collision
composer require predis/predis
i run comand: composer require --dev facade/ignition nunomaduro/collision and have got new Error: Your requirements could not be resolved to an installable set of packages.
Problem 1
- facade/ignition[2.10.0, ..., 2.10.2] require facade/ignition-contracts ^1.0.2 -> found facade/ignition-contracts[1.0.2] but the package is fixed to 1.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires facade/ignition ^2.10 -> satisfiable by facade/ignition[2.10.0, 2.10.1, 2.10.2].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
I have new laravel 8 project (blog) && use new Vagrant Homestead (with all updates) && i use laravel 8 manual)) may be laravel developers is a little busy and is a little tired to give full instruction in manual). I think may be for Laravel8 Homestead allready is not suitable and need Docker and Sail... But project work (with the exception of predis) Now i use phpredis. May be will try use docker... As for Vagrant&&Homestead - https://laravel.com/docs/8.x/homestead#introduction i don't understand what is problem to use that technology .... god with they)...

Installing Laravel Backpack 4.1 into Laravel 8

I am trying to install Backpack 4.1 into Laravel 8. I ran
composer require backpack/crud:"4.1.*"
But I received the following error.
Your requirements could not be resolved to an installable set of
packages.
backpack/crud[4.1.22, ..., 4.1.x-dev] require doctrine/dbal ^2.5 -> found doctrine/dbal[v2.5.0-BETA2, ..., 2.12.x-dev] but it conflicts
with your root composer.json require (^3.0).
backpack/crud[4.1.0, ..., 4.1.21] require laravel/framework ^7.0|^6.0 -> found laravel/framework[v6.0.0, ..., 6.x-dev, v7.0.0,
..., 7.x-dev] but it conflicts with your root composer.json require
(^8.12).
Root composer.json requires backpack/crud 4.1.* -> satisfiable by backpack/crud[4.1.0, ..., 4.1.x-dev].
I have been looking around but have not found a solution yet. Versions: Laravel 8.17, PHP 7.3.24
UPDATE I have tried installing 4.2; please see below.
Root composer.json requires backpack/crud 4.2.* -> satisfiable by
backpack/crud[4.2.x-dev]. backpack/crud 4.2.x-dev requires
doctrine/dbal ^2.5 -> found doctrine/dbal[v2.5.0-BETA2, ...,
2.12.x-dev] but it conflicts with your root composer.json require (^3.0).
Pending answer removal.
It seems Backpack 4.1 now supports Laravel8

Cant install gonoware/laravel-maps

I have troubles installing gonoware/laravel-maps on Laravel version 8.
When I do "composer require gonoware/laravel-maps" in my commander I get some errors:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- gonoware/laravel-maps v1.3.0 requires illuminate/support ^5.5|^6.0|^7.0 -> found illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but it conflicts with another require.
- gonoware/laravel-maps v1.3.1 requires illuminate/support ^6.0|^7.0 -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but it conflicts with another require.
- Root composer.json requires gonoware/laravel-maps ^1.3 -> satisfiable by gonoware/laravel-maps[v1.3.0, v1.3.1].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Can someone help me please?
gonoware/laravel-maps is not compatible with Laravel 8, as written in the error message. There's already an open bug report about this. Until this is fixed, you have no possibility to install the package while also using Laravel 8.

Resources