Error in Composer when trying to create a CakePHP project

0

I'm using a Linux virtual machine (Ubuntu) to develop a CakePHP project. I have already installed everything it needs (Apache, PHP, MySQL, Curl, Git, INTL and Composer).

So far, all right, until I try to create the CakePHP project with Composer. It simply stops and shows the message below:

  [Composer\Downloader\TransportException]  
  Content-Length mismatch                   


create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

I have already researched in several places, but it seems to be a generic problem of Composer, and so far I have not found anything that could help me. If anyone knows anything, please give me a help. Thanks.

Follow the image of the error in the Terminal:

    
asked by anonymous 27.10.2016 / 14:49

0 answers