cancel
Showing results for 
Search instead for 
Did you mean: 

composer error in Magento 2 installation

SOLVED

composer error in Magento 2 installation

Hi,

I'm facing error in installing composer in Magento 2. I'm trying to install Magento 2 via SSH. 

I faced this error 

"[Composer\Downloader\TransportException]
The "https://repo.magento.com/archives/magento/composer/magento-composer-1.0.2.0.zip" file could not be downloaded (HTTP/1.1 404 Not Found)"

 

7 REPLIES

Re: composer error in Magento 2 installation

Hi Wajidstack,

 

I've put up a step-by-step blog post on how to resolve this issue here: http://magento2king.com/magento2-insta-be-downloaded/. Hope this helps!

Re: composer error in Magento 2 installation

Have you set up the `auth.json` as suggested here?

Re: composer error in Magento 2 installation

 I'm getting the same error on a local Windows box. So I created that auth.json, but I still get the same 404 error on a new "composer install" run. My auth.json is located in %APPDATA%\Roaming\Composer\ . I created two different Github tokens, as the first one did not work, but the second one with all scopes doesn't work either. In the credentials for repo.magento.com I tested my registered username and then the email address - both with no luck. I'm stuck.

Re: composer error in Magento 2 installation

Thanks marcobax Smiley Happy My problem solve Smiley Happy

Re: composer error in Magento 2 installation

I am suspecting my password to break authentication on repo.magento.com, as it contains a slash and an @ sign. So I just changed it to something without special characters. Now I get a

Invalid credentials for 'https://repo.magento.com/archives/magento/composer/magento-composer-1.0.2.0.zip', aborting

I assume magento.com needs some time to synchronize their user credentials, so I'll give it a new try tomorrow.

Re: composer error in Magento 2 installation

Finally I installed Magento2 from the zip file, downloaded from https://www.magentocommerce.com/download - works like a charm.

Re: composer error in Magento 2 installation

please could rise again the solution your link is down