reziamini / laravel-easypanel

A beautiful and flexible admin panel creator based on Livewire for Laravel
https://easypanel.netlify.app/getting-started
MIT License
617 stars 104 forks source link

"Your requirements could not be resolved to an installable set of packages" Error #70

Closed duplantier closed 8 months ago

duplantier commented 1 year ago

When I try to run the folowing command: composer require rezaamini-ir/laravel-easypanel --with-all-dependencies, I take the following output: " ./composer.json has been updated Running composer update rezaamini-ir/laravel-easypanel --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

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

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

After I run npm update and composer update I tried to run the same command or composer require rezaamini-ir/laravel-easypanel:^2.0.0 command, but I did not work.

oussamajad commented 8 months ago

i got the same problem

AfshinEfati commented 8 months ago

same problem, PHP 8.2 and Laravel 10

moaminsharifi commented 8 months ago

The package currently only supports Livewire versions 1.0 and 2.3. However, other dependencies within your project require Livewire version 3.

- rezaamini-ir/laravel-easypanel[2.2.0, ..., 2.2.1] require livewire/livewire ^1.0|^2.3 -> found livewire/livewire[v1.0.0, ..., v1.3.9, v2.3.0, ..., v2.12.6] but it conflicts with your root composer.json require (^3.0).
- Root composer.json requires rezaamini-ir/laravel-easypanel * -> satisfiable by rezaamini-ir/laravel-easypanel[1.0.0, ..., 1.9.42, 2.0.0, ..., 2.2.1].

Challenges: Adding support for Livewire version 3 while maintaining backward compatibility for users on older versions presents significant challenges.

Proposals:

This suggestion to manually modify the package and its dependencies for Livewire 3 compatibility raises concerns

This approach prioritizes stability and avoids potential disruptions for current users.