Closed Mityugin closed 3 years ago
same problem here
Have you tried to execute the line in the exception manually? It works on my side:
$ git clone --no-checkout 'https://git.drupal.org/project/better_normalizers' 'web/modules/contrib/better_normalizers' && cd 'web/modules/contrib/better_normalizers' && git remote add composer 'https://git.drupal.org/project/better_normalizers' && git fetch
Cloning into 'web/modules/contrib/better_normalizers'...
warning: redirecting to https://git.drupalcode.org/project/better_normalizers.git/
remote: Enumerating objects: 46, done.
remote: Counting objects: 100% (46/46), done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 46 (delta 14), reused 0 (delta 0)
Unpacking objects: 100% (46/46), done.
warning: redirecting to https://git.drupalcode.org/project/better_normalizers.git/
See the redirect? I updated the composer.lock entry. Would you please test this for me, as i can not reproduce it.
[root@test ~]# composer create-project markaspot/mark-a-spot project-dir --stability dev Installing markaspot/mark-a-spot (dev-master 2c46e27bf2738db19166717496de33df87eea053)
Installing markaspot/mark-a-spot (dev-master 2c46e27): Cloning 2c46e27bf2 Created project in project-dir
DrupalProject\composer\ScriptHandler::checkComposerVersion Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages.
Problem 1
To enable extensions, verify that they are enabled in your .ini files:
php --ini
inside terminal to see which files are used by PHP in CLI mode.I install it on new server, maybe I need more preparing
@Mityugin you need install the php extensions. for example php-mbstring php-gd php-dom zip unzip
We have the same error with color_file, @markaspot can you update the composer.lock please?
Error:
[RuntimeException] Failed to execute git clone --no-checkout 'https://git.drupal.org/project/color_field' 'web/modules/contrib/color_field' && cd 'web/modules/contrib/color_field' && git remote add composer 'https://git.drupal.org/project/color_field' && git fetch composer
error: RPC failed; result=22, HTTP code = 404 fatal: The remote end hung up unexpectedly
And how to fix this? Already installed it from different source (git clone --no-checkout 'https://git.drupalcode.org/project/better_normalizers.git' 'web/modules/contrib/better_normalizers' && cd 'web/modules/contrib/better_normalizers' && git remote add composer 'https://git.drupal.org/project/better_normalizers' && git fetch
Cloning into 'web/modules/contrib/better_normalizers'... remote: Enumerating objects: 46, done. remote: Counting objects: 100% (46/46), done. remote: Compressing objects: 100% (40/40), done. remote: Total 46 (delta 14), reused 0 (delta 0) Unpacking objects: 100% (46/46), done.)
ERROR when installing from composer:
Installing drupal/core (8.6.1): Loading from cache
[RuntimeException]
Failed to execute git clone --no-checkout 'https://git.drupal.org/project/better_normalizers' 'web/modules/contrib/better_normalizers' && cd 'web/modules/contrib/better_normalizers' && git remote add composer 'https://git.drupal.org/project/better_normalizers' && git fetch
composer
error: RPC failed; result=22, HTTP code = 404
fatal: The remote end hung up unexpectedly