Skip to content
Advertisement

Installing laravel suddenly some json file cannot be downloaded

I typed create-project laravel/laravel "foldername" and got this message:

[ComposerDownloaderTransportException] The “http://packagist.org/p/illuminate/console%241d2f57f687204b9a57e5848fe9f49e79bc2fb7ed0cafc6d1387ad4760a1b155c.json” file could not be downloaded (HTTP/1.1 404 Not Found)

What’s this for? I already got the laravel structure files but i don’t want to continue without knowing whats with this error.

Update: composer.json content under my laravel folder structure

JavaScript

}

Advertisement

Answer

add this on your composer:

JavaScript

and run composer update once again. If not then run composer self-update

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement