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

نصب در لاراول 11 #172

Open
Nashnas opened this issue May 7, 2024 · 2 comments
Open

نصب در لاراول 11 #172

Nashnas opened this issue May 7, 2024 · 2 comments

Comments

@Nashnas
Copy link

Nashnas commented May 7, 2024

من هنگام نصب این بسته با خطای زیر مواجه شدم:
`$ composer require morilog/jalali:3.*./composer.json has been updated
Running composer update morilog/jalali
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- morilog/jalali[v3.0.0, ..., v3.0.2] require illuminate/support ^5.0 -> found illuminate/support[v5.0.0, ...,v5.8.36] but these were not loaded, likely because it conflicts with another require.
- morilog/jalali[v3.0.3, ..., v3.0.8] require nesbot/carbon ^1.21 -> found nesbot/carbon[1.21.0, ..., 1.39.1] but the package is fixed to 3.3.1 (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.
- morilog/jalali v3.0.9 requires php ^7.0 -> your php version (8.3.3) does not satisfy that requirement.
- morilog/jalali[v3.0.10, ..., v3.1.2] require php ^7.0 | ^7.1 | ^7.2 -> your php version (8.3.3) does not satisfy that requirement.
- morilog/jalali[v3.2.0, ..., v3.4.1] require nesbot/carbon ^1.21 || ^2.0 -> found nesbot/carbon[1.21.0, ..., 1.39.1, 2.0.0, ..., 2.72.3] but the package is fixed to 3.3.1 (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 morilog/jalali 3.* -> satisfiable by morilog/jalali[v3.0.0, ..., v3.4.1].

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.`
چگونه باید بدون آسیب به بسته های از قبل نصب شده مشکل را حل کنم؟

@hamedkhorasani
Copy link

Same issue

@omidfarahani
Copy link

The v3.4.2 release added support for Carbon 3 which should fix the problem.

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