markaspot / mark-a-spot

Public Civic Issue Tracking and Crowdsourcing / Mapping Platform based on Drupal. Open311 Server and Client Software
http://mark-a-spot.com
55 stars 30 forks source link

Composer error #76

Closed Mityugin closed 3 years ago

Mityugin commented 5 years ago

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:

huasamacocl commented 5 years ago

same problem here

markaspot commented 5 years ago

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.

Mityugin commented 5 years ago

[root@test ~]# composer create-project markaspot/mark-a-spot project-dir --stability dev Installing markaspot/mark-a-spot (dev-master 2c46e27bf2738db19166717496de33df87eea053)

I install it on new server, maybe I need more preparing

huasamacocl commented 5 years ago

@Mityugin you need install the php extensions. for example php-mbstring php-gd php-dom zip unzip

huasamacocl commented 5 years ago

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