Composer TransportException translation file could not be written

composer-php, laravel, laravel-4

Solution

Dropping in to confim that I'm seeing this too so I guess I can stop panicking now as it seems to be an error somewhere between Packagist and Github (still a problem to my boss but something to be said for it not being your fault!)

edit: I'm having this issue with kriswallsmith / assetic running Symfony 2.1.9

update: Received an email from Github support indicating this is an issue that they are aware of and are actively looking into it.

I've just added the '--prefer-source' flag until the issue is resolved on their end.

Problem

I am installing laravel 4 and running "composer install" command. It was able to install 13 packages successfully, but when it came time to install symfony/translation, it downloaded it 100% and then threw an error: [Composer\Downloader\TransportException] The "https://api.github.com/repos/symfony/Translation/zipball/6bc4b753c1ae5640c0eacdbe27c04a69cde3d10d" appears broken, and returned an empty 200 response Could it be because the original is 0 bytes? Is there a work around to installing this package?

Original source