Hello,

It seems impossible to install the module without git:

composer require "drupal/readmehelp:^1.0"
./composer.json has been updated
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)                        
  - Installing drupal/readmehelp (dev-1.x 87438a8)
    Cloning 87438a8cf335e03b33d653ef1f0cbae99ab42ea6

Installation failed, reverting ./composer.json to its original content.

                                                                                                                           
  [RuntimeException]                                                                                                       
  Failed to clone https://git.drupal.org/project/readmehelp, git was not found, check that it is installed and in your PA  
  TH env.                                                                                                                  
  sh: git: command not found                                                                                               
                                                                                                                           

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...
CommentFileSizeAuthor
#2 readmehelp-tilda-1.0.png62.35 KBdrugan
#2 readmehelp-caret-1.0.png67.94 KBdrugan

Comments

gge created an issue. See original summary.

drugan’s picture

StatusFileSize
new67.94 KB
new62.35 KB

As for my experience when working with composer you should be a little lucky. Like me :)

caret prefix:
caret

tilda prefix:

tilda

You may also try this:

composer require "drupal/readmehelp:^1.0.0"

or this:

composer require "drupal/readmehelp:~1.0.0"

or this:

composer require "drupal/readmehelp:~1.0.0-beta"

The last one will install (update) any beta version like 1.0.0-beta1, 1.0.0-beta2, etc..

I'd recommend before running the command always check all versions for the package:

composer info -a drupal/readmehelp

gge’s picture

Well, it turned out that luck was on my side this time :)

composer require "drupal/readmehelp:~1.0.0" solved the problem.

Thank you~

drugan’s picture

Status: Active » Fixed

Thank you too, for using the module.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.