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. #33

Open
veptune opened this issue Sep 16, 2024 · 0 comments

Comments

@veptune
Copy link

veptune commented Sep 16, 2024

Hello,

I use Laravel 11.23.5

I have installed a fresh version via composer.

I want to install your theme, but when I do :

composer require laravel-frontend-presets/nowui
I got :

nicolas@localhost:~/Desktop/projets-web/scrap$ composer require -W laravel-frontend-presets/now-ui-dashboard
./composer.json has been updated
Running composer update laravel-frontend-presets/now-ui-dashboard --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
    - laravel-frontend-presets/now-ui-dashboard v1.0.0 requires laravel/framework ^5.5 -> found laravel/framework[v5.5.0, ..., v5.8.38] but it conflicts with your root composer.json require (^11.9).
    - laravel-frontend-presets/now-ui-dashboard v1.0.1 requires laravel/framework ^5.5 || ^6.0 -> found laravel/framework[v5.5.0, ..., v5.8.38, v6.0.0, ..., v6.20.44] but it conflicts with your root composer.json require (^11.9).
    - laravel-frontend-presets/now-ui-dashboard[v1.0.2, ..., v1.0.3] require laravel/framework ^7.0 -> found laravel/framework[v7.0.0, ..., v7.30.6] but it conflicts with your root composer.json require (^11.9).
    - laravel-frontend-presets/now-ui-dashboard v1.0.4 requires laravel/framework ^8.0 -> found laravel/framework[v8.0.0, ..., v8.83.27] but it conflicts with your root composer.json require (^11.9).
    - laravel-frontend-presets/now-ui-dashboard v1.0.5 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).
    - laravel-frontend-presets/now-ui-dashboard v1.0.6 requires laravel/framework ^10.0 -> found laravel/framework[v10.0.0, ..., v10.48.22] but it conflicts with your root composer.json require (^11.9).
    - Root composer.json requires laravel-frontend-presets/now-ui-dashboard * -> satisfiable by laravel-frontend-presets/now-ui-dashboard[v1.0.0, ..., v1.0.6].

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

When in composer.json I change for : "laravel/framework": "^5.0",

I re-run the command and I got :

nicolas@localhost:~/Desktop/projets-web/scrap$ composer require -W laravel-frontend-presets/now-ui-dashboard
./composer.json has been updated
Running composer update laravel-frontend-presets/now-ui-dashboard --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
    - laravel/framework[v5.0.0, ..., v5.0.35] require ext-mcrypt * -> it is missing from your system. Install or enable PHP's mcrypt extension.
    - laravel/framework[v5.1.0, ..., v5.1.6] require psy/psysh 0.4.* -> found psy/psysh[v0.4.0, ..., v0.4.4] but these were not loaded, likely because it conflicts with another require.
    - laravel/framework[v5.1.7, ..., v5.1.23] require psy/psysh ~0.5.1 -> found psy/psysh[v0.5.1, v0.5.2] but these were not loaded, likely because it conflicts with another require.
    - laravel/framework[v5.1.24, ..., v5.2.20] require psy/psysh 0.6.* -> found psy/psysh[v0.6.0, v0.6.1] but these were not loaded, likely because it conflicts with another require.
    - laravel/framework[v5.1.31, ..., v5.3.26] require psy/psysh 0.7.* -> found psy/psysh[v0.7.0, v0.7.1, v0.7.2] but these were not loaded, likely because it conflicts with another require.
    - laravel/framework[v5.3.27, ..., v5.3.31] require psy/psysh 0.7.*|0.8.* -> found psy/psysh[v0.7.0, ..., v0.8.18] but these were not loaded, likely because it conflicts with another require.
    - laravel/framework[v5.4.0, ..., v5.4.36] require symfony/console ~3.2 -> found symfony/console[v3.2.0, ..., v3.4.47] but these were not loaded, likely because it conflicts with another require.
    - laravel/framework[v5.5.0, ..., v5.5.50] require symfony/console ~3.3 -> found symfony/console[v3.3.0, ..., v3.4.47] but these were not loaded, likely because it conflicts with another require.
    - laravel/framework[v5.6.0, ..., v5.8.38] require php ^7.1.3 -> your php version (8.3.11) does not satisfy that requirement.
    - Root composer.json requires laravel/framework ^5.0 -> satisfiable by laravel/framework[v5.0.0, ..., v5.8.38].

Why so many con flict? Because my larave is "blank" I have only installed breeze

Any clue?

Thanks

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