Unable to install any package in laravel after Downloading latest xampp

matheen ulla

I recently downloaded the latest xampp and shifted all my project to it. After that I cannot able to install any new packages. I am getting errors


Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires php ^7.2.5 but your php version (8.0.2) does not satisfy that requirement.
  Problem 2
    - Root composer.json requires laravel/ui 2.4 -> satisfiable by laravel/ui[v2.4.0].
    - laravel/ui v2.4.0 requires php ^7.2.5 -> your php version (8.0.2) does not satisfy that requirement.

I tried different solution like updating composer.json file. by seeing this https://stackoverflow.com/questions/65454412/root-composer-json-requires-php-7-3-but-your-php-version-8-0-0-does-not-satis

"require": {
    "php": "^7.2.5 || ^8.0",
    .....
},

but not working. I need help in solving this issue.

I have tried deleting composer.lock file and then deleted vendor folder and run composer install command. Getting the below error

Problem 1
    - Conclusion: don't install laravel/framework v7.29.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v7.29.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v7.29.2 (conflict analysis result)
    - Conclusion: don't install laravel/framework v7.29.3 (conflict analysis result)
    - Conclusion: don't install laravel/framework v7.30.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v7.30.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v7.30.2 (conflict analysis result)
    - Conclusion: don't install laravel/framework v7.30.3 (conflict analysis result)
    - Conclusion: don't install laravel/framework v7.30.4 (conflict analysis result)
    - illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.0.2) does not satisfy that requirement.
    - laravel/framework[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.0.2) does not satisfy that requirement.
    - laravel/ui[v3.1.0, ..., 3.x-dev] require illuminate/support ^8.0 -> satisfiable by illuminate/support[v8.0.0, ..., 8.x-dev].
    - Only one of these can be installed: illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev], laravel/framework[v7.0.0, ..., 7.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
    - Root composer.json requires laravel/framework ^7.0 -> satisfiable by laravel/framework[v7.0.0, ..., 7.x-dev].
    - Root composer.json requires laravel/ui ^3.1.0 -> satisfiable by laravel/ui[v3.1.0, v3.2.0, 3.x-dev].

Thank you

PunyFlash

laravel/ui 2.4.0 is not supporting PHP 8. You should use version 3.1.0 or above.

You should add a supporting version in your composer.json:

"require": {
    "php": "^7.2.5 || ^8.0",
    "laravel/ui": "^3.1.0"
    .....
},

And then reinstall dependencies:

composer install

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Unable to install any NuGet package in Monodevelop

From Java

Unable to Install Any Package in Visual Studio 2015

From Dev

Unable to install any package through pip

From Dev

Unable to install any package using apt without the need of an extra package

From Dev

Unable to install xampp in ubuntu 13.04

From Dev

How to install MongoDB after downloading

From Dev

Install Mercury after XAMPP installation

From Dev

"object not found" after install xampp

From Dev

Laravel framework install failed on xampp

From Dev

Unable to install the latest version of Gitlab

From Dev

Unable to install latest HWE for 14.04

From Dev

Docker install failed on downloading ubuntu package

From Dev

unable to install rvest package

From Dev

Unable to install the package "email"

From Dev

Unable to install package car

From Dev

PyCluster unable to install package

From Dev

Unable to install RMySQL package

From Dev

PyCluster unable to install package

From Dev

Unable to Install Python Package

From Dev

Unable to install sasquatch package

From Dev

Unable to install R package

From Dev

Is there any reason NOT to use XAMPP (or a similar server package)?

From Dev

Is there any package for Apache, PHP and MariaDB similar to XAMPP?

From Dev

Unable to install any packages

From Dev

Unable to install any packages

From Dev

Unable to install any programs

From Dev

How to verify a package after downloading from repositories

From Dev

error running apache after xampp install

From Dev

Unable to apt upgrade or install any package due to dpkg:error on linux-image