I’m trying to install the module via composer, but the package is not found. How to resolve it?
I’m trying to install the module via composer, but the package is not found. How to resolve it?
Composer is the dependency manager that allows you easily download the required files on your server. The files are located on a remote server, or a repository, that you need to add to the list of “known” ones and authenticate to using the username and password. During the process of installation, the composer checks all the available repositories and finds the package with the specified name. In case the package doesn’t belong to any of the known repositories or there is no such a package in the known repositories, composer throws the following error:
[InvalidArgumentException] Could not find a matching version of package amasty/color-swatches-pro. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (alpha)
What you can do to resolve this:
1. Check if the repository you’re trying to reach is listed in composer.json file, under ‘repositories’ section:
2. To make sure you are trying to reach the correct repository, you may run the following command: composer show -a amasty/* It will show all available modules from Amasty. If the repository has been added correctly, the extension in question will be displayed in the list:
3. Make sure that you’re requesting the module using the same account that was used for the purchase. The username and password that you use for the authentication to composer repository should coincide with the public and private keys in your customer account in the Products tab:
4. Flush composer caches with command composer clearcache
For Amasty modules, there are two possible ways of installation/update: via composer and via a direct file upload. Depending on the initial installation method, the module files will be located in a specific directory. Each installation method ...
This error appears when Composer is unable to locate the PHP version with which it can work. The located version can be either not supported or not found at all. To help composer find the PHP version that is being used by Magento, it is ...
curl error 60 while downloading https://composer.amasty.com/enterprise/packages/module-page-speed-tools-1.0.4-ee.zip: SSL certificate problem: certificate has expired This error appears due to the outdated or not supported SSL certificate. The ...
If you've experienced this error using Composer, there are several ways on how to solve this: 1. First, please verify whether the Amasty repository is installed and whether the authentication keys are valid. More information on this can ...
There are two possible reasons why the composer is not fetching the latest version of the module. The first one is that the module package is loaded from caches - composer cannot see the latest available version, so it loads the latest that is ...
New features and improvements Order Attributes v3.8.0 NEW now Order Attributes are placed on the PayPal Review Page; we added compatibility with Hyvä Theme for the module. You can find package for installing in composer suggest (Note: the compatibility
New features and improvements Improved Layered Navigation generate SEO-friendly URLs for multi-select Category filter; better speed performance of the Apply filters button; improve Category list load time. Special Promotions Pro optimize data types in
New Amasty services Make sure your site is well-performing with our E-commerce QA testing service. Let our specialists check various elements of your website and get the issues fixed. The service is available for any e-commerce platform (Magento, Shopify,
New features and improvements Elastic Search better performance of synonyms; REST API support. Product Labels enhanced extension performance with a lot of products on the page. Blog Pro posts migration from one Magento instance to another; email notifications
New solutions Our new SaaS tool - Website SEO Health Check. Discover the most severe SEO mistakes which can damage your website. Available as part of Pro and Premium SEO Toolkit. New features and improvements Import and Export NEW we added the possibility