composer create-project flarum/flarum . --stability=beta
Creating a "flarum/flarum" project at "./"
Installing flarum/flarum (v0.1.0-beta.13)
- Downloading flarum/flarum (v0.1.0-beta.13)
- Installing flarum/flarum (v0.1.0-beta.13): Extracting archive
Failed to extract flarum/flarum: (9) unzip -qq '/data/wwwroot/needsim/vendor/composer/tmp-b12efa3c9be7b6ed53124ca6b6831843' -d '/data/wwwroot/needsim/vendor/composer/831ef9b9'
unzip: cannot find or open /data/wwwroot/needsim/vendor/composer/tmp-b12efa3c9be7b6ed53124ca6b6831843.
This most likely is due to a custom installer plugin not handling the returned Promise from the downloader
See https://github.com/composer/installers/commit/5006d0c28730ade233a8f42ec31ac68fb1c5c9bb for an example fix
Install of flarum/flarum failed
[RuntimeException]
Could not delete /data/wwwroot/needsim/.:
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]