composer: https://packagist.org/p/provider-active$... file could not be downloaded (404 Not Found)

The error occured when I’m trying to update a project which requires neilime/lessphp : v0.5

Loading composer repositories with package information
The "https://packagist.org/p/provider-active$18591bab518015a7946538887f1b3b2af4a9d26e2d23d0b9ae354617792bb57e.json" file could not be downloaded (HTTP/1.1 404 Not Found)
http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Updating dependencies (including require-dev)
Nothing to install or update

It appends after I have deleted / recreated tag v0.5 for neilime/lessphp

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 34 (6 by maintainers)

Most upvoted comments

It seems this is happening again. Composer suddenly stops without throwing any error but it actually gets 404 on the provider-*.json file download.

$ composer update -vvv
Reading ./composer.json
Loading config file ./composer.json
Executing command (CWD): git describe --exact-match --tags
Executing command (CWD): git branch --no-color --no-abbrev -v
Failed to initialize global composer: Composer could not find the config file: /home/xxx/.composer/composer.json
To initialize a project, please create a composer.json file as described in the http://getcomposer.org/ "Getting Started" section
Loading composer repositories with package information
Downloading https://packagist.org/packages.json
Writing /home/xxx/.composer/cache/repo/https---packagist.org/packages.json into cache
Updating dependencies (including require-dev)
Downloading https://packagist.org/p/provider-2013$502f23a04b395b1d74c8315c58ac63fcb1d23784b6122dec9ff1bf8b33fe1acf.json
curl -I "https://packagist.org/p/provider-2013$502f23a04b395b1d74c8315c58ac63fcb1d23784b6122dec9ff1bf8b33fe1acf.json"
HTTP/1.1 404 Not Found
Server: nginx
Date: Wed, 04 Mar 2015 09:37:48 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Set-Cookie: packagist=jugoa0pse8d7rfj0752fheje74; expires=Wed, 04-Mar-2015 10:37:48 GMT; path=/; secure; HttpOnly
Cache-Control: no-cache
Strict-Transport-Security: max-age=31104000
X-Frame-Options: DENY

I had the same problem, I figured out that I have an other php 5.5 installed along with xampp php version 7.2. So i launched the command (composer create-project symfony/skeleton MyProject) under php 7.2 folder and it was really awesome 😃