cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Installing Product Recommendations for M2

Highlighted

Problem Installing Product Recommendations for M2

Hi,

   I am trying to install the Product recommendations for M2 but getting the following error

Command used: composer require Magento/product-recommendations

     Problem 1
     - Installation request for magento/product-recommendations 2.0 -> satisfiable by magento/product-recommendations[2.0.0].
     - magento/product-recommendations 2.0.0 requires magento/module-product-recommendations-admin 2.0.0 -> no matching package found.

 

When try running this

 

Command used: composer require Magento/module-product-recommendations-admin it says 

 

Installation failed, reverting ./composer.json to its original content.
/var/www/vhosts/norlias.no/upgrade.norlias.no$ composer require magento/module-product-recommendations-admin


[InvalidArgumentException]
I could not find a matching version of package Magento/module-product-recommendations-admin. Check the package spelling, your version constraint and that the package is available instability which matches your minimum-stability (dev).

4 REPLIES 4
Highlighted

Re: Problem Installing Product Recommendations for M2

Hi @mr_bukhari ,

 

Could you please check below link. This may help you.

https://devdocs.magento.com/recommendations/install-configure.html

 

Thanks!

----
Problem solved? Click Accept as Solution!

Highlighted

Re: Problem Installing Product Recommendations for M2

Its not working, when try install

 

composer require magento/product-recommendations

 

it says required composer require magento/product-recommendations-admin but there is no such package.

Highlighted

Re: Problem Installing Product Recommendations for M2

Hi @mr_bukhari 

 

Could you please try below command for the installation.

composer require magento/product-recommendations --no-update

 And i am hoping you have already installed the dependencies mentioned in the 

https://devdocs.magento.com/recommendations/install-configure.html

 

Please check.

 

Screenshot from 2020-04-19 17-08-27.png----

Problem solved? Click Accept as Solution!

 

Highlighted

Re: Problem Installing Product Recommendations for M2

Hello I am also having this problem in magento cloud, I have problems like installing recommended products.

1) Execute the documentation command, for some reason it doesn't work, as it shows me an attached image error.

2) Search the Internet for a possible solution where, by placing this command, the composer updates the magento / product recommendations --with dependencies and manually adds the dependency "magento / product recommendations": "^ 2.0", attached photo, my question is would the installation be ok?

 

my steps to follow were: 1) composer require magento / product-recommendations It gives me this info: Could not find a matching version of package magento / product-recommendations. Check the package spelling, your vers ion constraint and that the package is available in a stability which matches your minimum-stability (alpha). then try this composer update magento / product-recommendations --with-dependencies and manually place the dependency please help Smiley Sad