Fatal error on installation attempt

Created on 2 October 2023, about 1 year ago

Problem/Motivation

Composer installation fails - fatal - not a git repository

./composer.json has been updated
Running composer update drupal/link_attributes
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading drupal/link_attributes (2.0.2 => 2.1.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Syncing drupal/link_attributes (2.1.0) into cache
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.

In GitDownloader.php line 248:
Failed to execute git show-ref --head -d
fatal: not a git repository (or any of the parent directories): .git

Steps to reproduce

composer require "drupal/link_attributes:^2.1"

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jshimota01 Portland, OR

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

Comments & Activities

Production build 0.71.5 2024