We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
Here's my PHP-version:
PHP 7.2.5 (cli) (built: Apr 26 2018 12:07:32) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans with Zend OPcache v7.2.5, Copyright (c) 1999-2018, by Zend Technologies
Sorry, something went wrong.
That looks like a breaking change introduced in php 7.2 which I learned about just this morning listening to the PHP Roundtable podcast :)
tl:dr is step back to php 7.1 until the failing code (Composer?) is updated for php 7.2
Thanks for confirming, will downgrade to 7.1
This bug is related to drupal-composer/drupal-scaffold#80
No branches or pull requests
Hi
running the project via
fails with an exception:
any ideas what might be wrong?, Thanks
The text was updated successfully, but these errors were encountered: