cancel
Showing results for 
Search instead for 
Did you mean: 

Error from Composer, While Downloading Magento2

Error from Composer, While Downloading Magento2

Getting Error Message from Composer, While attempting to download/install magento2 CE.

Command:

magento_user@mydevice:/usr/share/nginx/html$ 

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition /usr/share/nginx/html/magento2

Message from Ubuntu:

[InvalidArgumentException]

Could not find package magento/project-community-edition with stability stable.

 

2 REPLIES 2

Re: Error from Composer, While Downloading Magento2

Hello @HimuROptCo3061 

 

Please run the below command:

 

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition=2.4.0 magento240
 
I hope it helps.
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Error from Composer, While Downloading Magento2

Thank you for your response.

I will have to wait to try out. It seems, you are suggesting 2.4.0 in place.

However, I went other way on my current ubuntu.

I am planning to go for this once I try it out on ubuntu server, in near future.

And I hope, I will have a definitive response to your help as well as for the community.