Running composer install --dev in site root does not finish with [RuntimeException], failed to clone https://git.drupal.org/project/coder.git, git was not found

Created on 31 March 2018, about 6 years ago
Updated 29 April 2023, about 1 year ago

I'm running drupal 8.5.1 on my development environment and wanted to install the Core Testing Module to test my custom modules.
The module install halts because:
" The testing framework requires the PHPUnit package. Please run 'composer install --dev' to ensure it is present. (Currently using PHPUnit dependency version Not found) "

Running composer install --dev on my site root does not finish with [RuntimeException], failed to clone https://git.drupal.org/project/coder.git, git was not found

Don't know if it's correct, I have read that dev tools where now a part of the normal composer install package, the composer install and update runs fine without errors, but the module still does not install and refers to composer install --dev.

💬 Support request
Status

Closed: works as designed

Version

8.5 ⚰️

Component
PHPUnit 

Last updated 34 minutes ago

Created by

🇵🇹Portugal pedro-alves

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024