Cannot download Asgard CMS v2 error [Composer\Downloader\TransportException]
When I download Asgard CMS with composer -
composer create-project asgardcms/platform=2.0.x-dev asgardv2
I am getting this error
[Composer\Downloader\TransportException] The "https://api.github.com/repos/AsgardCms/Platform/zipball/05f74a1da474a3ae30218263d101491978c4bdb2" file could not be written to asgardv2//4881203d64ddbdb06ce974c8b5dc214a: failed to open stream: No such file or directory
I don't know exactly how but creating folder manually and using --prefer-dist solved issue.
Most probably because php had no permission to create folder.
Thus could not write error.