cancel
Showing results for 
Search instead for 
Did you mean: 

The "https://repo.magento.com/​/packages.json" file could not be downloaded (HTTP/1.1 404 Not Found)

The "https://repo.magento.com/​/packages.json" file could not be downloaded (HTTP/1.1 404 Not Found)

Hello,

I ran the command 

 

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition <install-directory-name>

and got the following error several times.

 

In RemoteFilesystem.php line 441:

The "https://repo.magento.com/​/packages.json" file could not be downloaded (HTTP/1.1 404 Not Found)


But while running the same command again another time, it started working fine (as can be seen in the screenshot down below)


I like to analyze what resulted in this error and how to prevent it from occurring again. Thanks for any insights!!

 

Screenshot from 2021-03-16 17-59-51.png