-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
composer update modules/my-module giving error #92
Comments
We can't help you without code examples or a repo reproduction. |
I had this issue as well. In my case the cause was that I was running development inside a docker environment (DDEV) that had composer/composer 2.7.2 installed globally in the container, while this package installed composer/composer 2.7.6 locally in the project. If you look closely at the top of the stack trace you see that at some point the global composer makes a call to the local composer, but those two versions are not quite compatible.
I was able to get past the issue by ensuring the container's global composer/composer version and the project's local composer/composer version were exactly the same. |
I'm getting the same error when running a workflow on GitHub Actions – nothing to do with this project, but it's the only search result. I've been working on a Composer plugin, brianhenryie/composer-fallback-to-git, which is probably involved since most projects wouldn't have anything in As LauHypershop pointed out, the backtrace uses both the Composer I'll update this thread if I figure out a solution.
|
Yeah I recently had it in another environment as well, and then it turned
out my global composer install was lagging behind the project's composer
version. Self-update fixed it.
…On Sun, 23 Jun 2024 at 00:56, Brahmic ***@***.***> wrote:
Try composer self-update.
I solved this case upgrading Composer to version 2.7.7
—
Reply to this email directly, view it on GitHub
<#92 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATPE3SV7YZDSWIAJTML5YRLZIX6J7AVCNFSM6AAAAABG5FNMMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUGIZDQOJUGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
getting following error
Composer\Util\Http\RequestProxy::__construct(): Argument #2 ($auth) must be of type ?string, array given, called in phar:///usr/local/bin/composer/src/Composer/Util/Http/ProxyManager.php on line 102
Versions
PHP:8.2
composer:2.4
The text was updated successfully, but these errors were encountered: