laravel-translations: Fresh laravel installation failed
Fresh laravel installation failed with this error
` Your requirements could not be resolved to an installable set of packages.
Problem 1 - outhebox/laravel-translations[0.0.1, …, 0.1.2] require brick/varexporter ^0.3.7 -> satisfiable by brick/varexporter[0.3.7, 0.3.8]. - outhebox/laravel-translations 1.0.0 requires inertiajs/inertia-laravel ^0.6.11 -> satisfiable by inertiajs/inertia-laravel[v0.6.11]. - outhebox/laravel-translations[1.0.1, …, 1.1.1] require brick/varexporter ^0.4.0 -> satisfiable by brick/varexporter[0.4.0]. - outhebox/laravel-translations[1.0.2, …, 1.0.9] require brick/varexporter ^0.3.7|^0.4.0 -> satisfiable by brick/varexporter[0.3.7, 0.3.8, 0.4.0]. - brick/varexporter[0.3.7, …, 0.4.0] require nikic/php-parser ^4.0 -> found nikic/php-parser[v4.0.0, …, v4.19.1] but these were not loaded, likely because it conflicts with another require. - inertiajs/inertia-laravel[v0.6.10, …, v0.6.11] require laravel/framework ^6.0|^7.0|^8.74|^9.0|^10.0 -> found laravel/framework[v6.0.0, …, v6.20.44, v7.0.0, …, v7.30.6, v8.74.0, …, v8.83.27, v9.0.0, …, v9.52.16, v10.0.0, …, v10.48.4] but it conflicts with your root composer.json require (^11.0). - Root composer.json requires outhebox/laravel-translations * -> satisfiable by outhebox/laravel-translations[0.0.1, …, 0.1.2, 1.0.0, …, 1.1.1].
You can also try re-running composer require with an explicit version constraint, e.g. “composer require outhebox/laravel-translations:*” to figure out if any version is installable, or “composer require outhebox/laravel-translations:^2.1” if you know which you need. `
About this issue
- Original URL
- State: open
- Created 3 months ago
- Reactions: 1
- Comments: 20 (5 by maintainers)
Hi @JorgenSolli, Thank you you are correct i just didn’t notice that both are included in the composer.json also i don’t have enough time to debug this out, i’ve applied ur suggestion hopefully it will works.
im installed fresh laravel with composer only installed inertia-laravel package no other package was installed try to install this package returns the above error. please try this translation package installation in frash laravel project.
Try upgrading laravel-inertia to ^1.0 in composer.json