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

Your requirements could not be resolved to an installable set of packages. #124

Open
keuvy opened this issue Feb 26, 2024 · 1 comment
Open

Comments

@keuvy
Copy link

keuvy commented Feb 26, 2024

Error happening when I try to install this package.

Screenshot 2024-02-26 at 09 50 12

php: 8.3.0
lumen: v10.0.2

@ridzria
Copy link

ridzria commented May 9, 2024

Same here as well. Tried the following as well but not successful.

->>> composer require flipbox/lumen-generator:^9.3.0
./composer.json has been updated
Running composer update flipbox/lumen-generator
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - classpreloader/classpreloader 3.0.0 requires nikic/php-parser ^1.0|^2.0 -> found nikic/php-parser[v1.0.0, ..., v1.4.1, v2.0.0, v2.0.1, v2.1.0, v2.1.1] but the package is fixed to v5.0.2 (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.
    - classpreloader/classpreloader[3.1.0, ..., 3.2.1] require nikic/php-parser ^1.0|^2.0|^3.0 -> found nikic/php-parser[v1.0.0, ..., v1.4.1, v2.0.0, v2.0.1, v2.1.0, v2.1.1, v3.0.0, ..., v3.1.5] but the package is fixed to v5.0.2 (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.
    - classpreloader/classpreloader[4.0.0, ..., 4.0.1] require php ^7.0.8 -> your php version (8.3.0) does not satisfy that requirement.
    - classpreloader/classpreloader[4.1.0, ..., 4.2.0] require nikic/php-parser ^4.10.3 -> found nikic/php-parser[v4.10.3, ..., v4.19.1] but the package is fixed to v5.0.2 (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.
    - flipbox/lumen-generator 9.3.0 requires classpreloader/classpreloader ^3.0|^4.0|^4.2 -> satisfiable by classpreloader/classpreloader[3.0.0, 3.1.0, 3.2.0, 3.2.1, 4.0.0, 4.0.1, 4.1.0, 4.2.0].
    - Root composer.json requires flipbox/lumen-generator ^9.3.0 -> satisfiable by flipbox/lumen-generator[9.3.0].

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.
php: 8.2.0
lumen: 10.0.3

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

2 participants