benjaminkott / benjaminkott/configuration-installer

composer v2

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
5
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hi @benjaminkott ,

I would like to use the configuration installer, but I get an error installing ex. bk2k/config-typo3-stylelint
```
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing bk2k/config-typo3-stylelint (0.1.0): Extracting archive
Installing file links for bk2k/config-typo3-stylelint
Failed to extract bk2k/config-typo3-stylelint: (9) '/usr/bin/unzip' -qq '/var/www/html/vendor/composer/tmp-0cecebf565b0066034e7d0fc7017ad21' -d '/var/www/html/vendor/composer/85241731'

unzip: cannot find or open /var/www/html/vendor/composer/tmp-0cecebf565b0066034e7d0fc7017ad21.

This most likely is due to a custom installer plugin not handling the returned Promise from the downloader
See https://github.com/composer/installers/commit/5006d0c28730ade233a8f42ec31ac68fb1c5c9bb for an example fix
```

This seems to be a composer v2 issue. Can u fix this? Or point me to the direction how to use it?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported installation of bk2k/config-typo3-stylelint with Composer v2 and review the configuration installer’s custom installer plugin and downloader handling. Compare its behavior with the Composer installers promise-handling example linked in the error; done means the package extracts successfully without the reported missing temporary archive error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.