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 fails on Laravel 11.10 #83

Closed
momostafa opened this issue Jun 15, 2024 · 1 comment
Closed

Installation fails on Laravel 11.10 #83

momostafa opened this issue Jun 15, 2024 · 1 comment

Comments

@momostafa
Copy link

Hi,

I am getting below error when trying to install on: laravel 11.10

Thanks in advance for your help and support

composer require akaunting/laravel-firewall -W
./composer.json has been updated
Running composer update akaunting/laravel-firewall --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
    - akaunting/laravel-firewall[1.2.11, ..., 1.3.4, 2.2.0] require jenssegers/agent 2.6.* -> satisfiable by jenssegers/agent[v2.6.0, ..., v2.6.4].
    - akaunting/laravel-firewall[1.0.0, ..., 1.0.3] require illuminate/support >=5.4 <6.0 -> found illuminate/support[v5.4.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
    - akaunting/laravel-firewall[1.0.4, ..., 1.2.10] require guzzlehttp/guzzle ^6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.8] but these were not loaded, likely because it conflicts with another require.
    - akaunting/laravel-firewall 2.0.0 requires laravel/framework ^9.0 -> found laravel/framework[v9.0.0, ..., v9.52.16] but it conflicts with your root composer.json require (^11.9).
    - akaunting/laravel-firewall[2.1.0, ..., 2.1.7] require laravel/framework ^9.0|^10.0 -> found laravel/framework[v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.12] but it conflicts with your root composer.json require (^11.9).
    - jenssegers/agent[v2.6.0, ..., v2.6.4] require mobiledetect/mobiledetectlib ^2.7.6 -> found mobiledetect/mobiledetectlib[2.7.6, ..., 2.8.45] but it conflicts with your root composer.json require (^4.8).
    - Root composer.json requires akaunting/laravel-firewall * -> satisfiable by akaunting/laravel-firewall[1.0.0, ..., 1.3.4, 2.0.0, ..., 2.2.0].

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

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
@momostafa
Copy link
Author

I sorted out by forking and updating the dependencies
Thanks for the package

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

1 participant