Default installation of drupal using composer create-project failing

While trying to install Drupal using

composer create-project drupal-composer/drupal-project:8.x-dev d8-devportal --stability dev --no-interaction 

as mentioned in this doc: https://docs.apigee.com/api-platform/publish/drupal/open-source-drupal-8, I get the following error:

7940-capture1.png

When I check the projects/d8-devportal/web/core following file can be seen:

7941-capture2.png

Could you please help?

0 2 181
2 REPLIES 2

I upgraded PHP from 7.0 to 7.3 and it's working fine.

I was going to ask you to file an issue at the drupal-composer/drupal-project issue queue, but it looks like you figured it out. Thanks for sharing the fix.