Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Setting up with existing Magento 2 installation #76

Open
ishanrakitha opened this issue Jan 7, 2022 · 3 comments
Open

Setting up with existing Magento 2 installation #76

ishanrakitha opened this issue Jan 7, 2022 · 3 comments

Comments

@ishanrakitha
Copy link

I'm trying to setup with Storefront mode. As per the documentation composer update fails with below errors.
Please advise. Appreciate your support in advance.

Ubuntu 20.4
PHP 7.4.26
Magento Version: 2.4.3

image

composer update in backend root

image

Thank you.

@ishanrakitha
Copy link
Author

ishanrakitha commented Jan 7, 2022

When downgraded to PHP 7.2

image

@ishanrakitha
Copy link
Author

ishanrakitha commented Jan 7, 2022

Received the below output for the following.

yarn create scandipwa-app my-app
cd my-app
BUILD_MODE=magento npm run build

Executing the following from Magento root folder;

composer config repo.theme path localmodules/my-app
composer require scandipwa/my-app

Output

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

  Problem 1
    - scandipwa/performance[1.2.0, ..., 1.5.5] require magento/module-inventory-api * -> could not be found in any version, there may be a typo in the package name.
    - scandipwa/my-app 0.0.1 requires scandipwa/performance 1.5.5 -> satisfiable by scandipwa/performance[1.5.5].
    - Root composer.json requires scandipwa/my-app ^0.0.1 -> satisfiable by scandipwa/my-app[0.0.1].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require scandipwa/my-app:*" to figure out if any version is installable, or "composer require scandipwa/my-app:^2.1" if you know which you need.

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

@ishanrakitha
Copy link
Author

Getting the same with the Master branch as well.

Please advise.

Magento ver. dev-2.4-develop

image

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant