magenx / Magento-2-server-installation

Magento 2 Server Installation - MagenX e-commerce stack on Ubuntu 20/22.04 | Debian 11/12
https://magenx.sh
186 stars 83 forks source link

Getting Issue Your requirements could not be resolved to an installable set of packages. during install. #237

Open HDBear opened 5 months ago

HDBear commented 5 months ago

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

Problem 1

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. You can also try re-running composer require with an explicit version constraint, e.g. "composer require magento/quality-patches:*" to figure out if any version is installable, or "composer require magento/quality-patches:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

HDBear commented 5 months ago

[-] Creating cache cleaner script: /usr/local/bin/cacheflush

!/bin/bash

sudo -u ${SUDO_USER} n98-magerun2 --root-dir=/home/${SUDO_USER}/public_html cache:flush /usr/bin/systemctl restart php8.2-fpm.service nginx -t && /usr/bin/systemctl restart nginx.service || echo "[!] Error: check nginx config"

Disabling maintenance mode Command returned non-zero exit code: /usr/bin/php8.2 -f /home/lankaprintlk/public_html/bin/magento setup:di:compile

get 2 more errors