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

Installation error #7

Open
emtiazzahid opened this issue Apr 18, 2024 · 3 comments
Open

Installation error #7

emtiazzahid opened this issue Apr 18, 2024 · 3 comments

Comments

@emtiazzahid
Copy link

Error

Using version ^1.0 for glebsky/laravel-lang-generator
./composer.json has been updated
Running composer update glebsky/laravel-lang-generator
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - outhebox/laravel-translations[1.1.0, ..., 1.1.1] require brick/varexporter ^0.4.0 -> satisfiable by brick/varexporter[0.4.0].  
    - brick/varexporter 0.4.0 requires nikic/php-parser ^4.0 -> found nikic/php-parser[v4.0.0, ..., 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.
    - Root composer.json requires outhebox/laravel-translations ^1.1 -> satisfiable by outhebox/laravel-translations[1.1.0, 1.1.1].  

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 glebsky/laravel-lang-generator:*" to figure out if any version is installable, or "composer require glebsky/laravel-lang-generator:^2.1" if you know which you need.
@Glebsky
Copy link
Owner

Glebsky commented Apr 18, 2024

You have issue with outhebox/laravel-translations library. This library requires suitable versions of others components. laravel-lang-generator don't uses such libraries (brick/varexporter , nikic/php-parser)

@emtiazzahid
Copy link
Author

In my project or any composer package using brick/varexporter
and nikic/php-parser required by phpunit/php-code-coverage and phpunit/php-code-coverage required by phpunit/phpunit 11.1.2

so I think nikic/php-parser is pretty much important to have

@evarioooo
Copy link

Your problem has nothing to do with

glebsky/laravel-lang-generator

but is caused by another dependency.

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

3 participants