I am trying to generate a new bedrock project. I am running composer create-project roots/bedrock <path> and I keep getting this error:
[ErrorException] ZipArchive::extractTo(vendor/composer/b6341258/roots-bedrock-235548d/.env.e xample): failed to open stream: No such file or directory
I thought something may have gotten lost in my git clone so I deleted and recloned it. All files look to be present. Also, when I try to add dev-master to the command, I get this:
I’ve never seen either of those error, but for now create-project should only be run with dev-master until new release is published to Packagist (which is long overdue).
The 2nd one seems like a Composer/setup issue (local PHP perhaps) since it’s happening so early in the process at the cloning stage.
It appears that the error is due to there being a space in the directory where I had my git clone. Moving it to another directory seems to make the script run just fine.