I upgraded my laravel application that was previously using 5.8 to laravel 10. There is a following issue: Class "Bosnadev\Repositories\Eloquent\Repository" not found I try to install the package using composer require bosnadev/repositories. The following error message comes:
Problem 1 bosnadev/repositories[dev-master, dev-develop, 0.13, ..., 0.x-dev] require illuminate/support ^5.2 -> found illuminate/support[v5.2.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflict s with another require. bosnadev/repositories[0.1, ..., 0.12] require illuminate/support 5.* -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require. bosnadev/repositories 0.x-dev is an alias of bosnadev/repositories dev-master and thus requires it to be installed too. Root composer.json requires bosnadev/repositories * -> satisfiable by bosnadev/repositories[dev-master, dev-develop, 0.1, ..., 0.x-dev (alias of dev-master)].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require bosnadev/repositories:*" to figure out if any version is installable, or "composer require bosnadev/repos itories:^2.1" if you know which you need.
I tried to remove the problem but I get same error by making changes in composer.json file but still it does not allowed to install. So I need assistance in how to solve it.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire