Skip to content

create-project fails with an exception #398

Closed
@stmh

Description

@stmh

Hi

running the project via

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

fails with an exception:

...
Writing lock file
Generating autoload files
  - Downloading 1/16: https://cgit.drupalcode.org/drupal/plain/update.php
  - Downloading 3/16: https://cgit.drupalcode.org/drupal/plain/sites/example.sites.php
  - Downloading 3/16: https://cgit.drupalcode.org/drupal/plain/sites/example.settings.local.php
  - Downloading 7/16: https://cgit.drupalcode.org/drupal/plain/sites/development.services.yml
  - Downloading 7/16: https://cgit.drupalcode.org/drupal/plain/sites/default/default.services.yml
  - Downloading 7/16: https://cgit.drupalcode.org/drupal/plain/robots.txt
  - Downloading 7/16: https://cgit.drupalcode.org/drupal/plain/index.php
  - Downloading 8/16: https://cgit.drupalcode.org/drupal/plain/sites/default/default.settings.php
  - Downloading 9/16: https://cgit.drupalcode.org/drupal/plain/.htaccess
  - Downloading 10/16: https://cgit.drupalcode.org/drupal/plain/web.config
  - Downloading 11/16: https://cgit.drupalcode.org/drupal/plain/.gitattributes
  - Downloading 12/16: https://cgit.drupalcode.org/drupal/plain/.ht.router.php
  - Downloading 15/16: https://cgit.drupalcode.org/drupal/plain/.eslintignore
  - Downloading 15/16: https://cgit.drupalcode.org/drupal/plain/.editorconfig
  - Downloading 15/16: https://cgit.drupalcode.org/drupal/plain/.csslintrc
  - Downloading 16/16: https://cgit.drupalcode.org/drupal/plain/.eslintrc.json


  [ErrorException]
  count(): Parameter must be an array or an object that implements Countable


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] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

any ideas what might be wrong?, Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions