-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Milestone
Description
My composer.json:
{
"name": "wearerequired/example",
"repositories": [],
"require": {}
}Output of composer diagnose:
Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com oauth access: OK
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0 87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B 0C708369 153E328C AD90147D AFE50952
OK
Checking composer version: You are not running the latest stable version, run `composer self-update` to update (2.0.13 => 2.0.14)
Composer version: 2.0.13
PHP version: 7.3.24
PHP binary path: /usr/bin/php
OpenSSL version: LibreSSL 2.8.3
cURL version: 7.64.1 libz 1.2.11 ssl (SecureTransport) LibreSSL/2.8.3
zip: extension not loaded, unzip present
When I run this command:
composer config repositories vcs [email protected]:wearerequired/user-roles-adjustments.git -vvv
I get the following output:
Reading ./composer.json (~/Development/example/composer.json)
Loading config file ~/.composer/auth.json
Loading config file ./composer.json (~/Development/example/composer.json)
Checked CA file /private/etc/ssl/cert.pem: valid
Executing command (~/Development/example): git branch -a --no-color --no-abbrev -v
Reading ~/.composer/composer.json
Loading config file ~/.composer/auth.json
Loading config file ~/.composer/composer.json (~/.composer/composer.json)
Loading config file ~/.composer/auth.json
Reading ~/.composer/auth.json
Reading ~/.composer/vendor/composer/installed.json
Loading plugin Dealerdirect\Composer\Plugin\Installers\PHPCodeSniffer\Plugin (from dealerdirect/phpcodesniffer-composer-installer, installed globally)
Running 2.0.13 (2021-04-27 13:11:08) with PHP 7.3.24-(to be removed in future macOS) on Darwin / 20.4.0
Loading config file ~/.composer/auth.json
Reading ./composer.json (~/Development/example/composer.json)
[InvalidArgumentException]
Setting repositories does not exist or is not supported by this command
Exception trace:
() at phar:///usr/local/Cellar/composer/2.0.9/bin/composer/src/Composer/Command/ConfigCommand.php:750
Composer\Command\ConfigCommand->execute() at phar:///usr/local/Cellar/composer/2.0.9/bin/composer/vendor/symfony/console/Command/Command.php:245
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/Cellar/composer/2.0.9/bin/composer/vendor/symfony/console/Application.php:835
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/Cellar/composer/2.0.9/bin/composer/vendor/symfony/console/Application.php:185
Symfony\Component\Console\Application->doRun() at phar:///usr/local/Cellar/composer/2.0.9/bin/composer/src/Composer/Console/Application.php:310
Composer\Console\Application->doRun() at phar:///usr/local/Cellar/composer/2.0.9/bin/composer/vendor/symfony/console/Application.php:117
Symfony\Component\Console\Application->run() at phar:///usr/local/Cellar/composer/2.0.9/bin/composer/src/Composer/Console/Application.php:122
Composer\Console\Application->run() at phar:///usr/local/Cellar/composer/2.0.9/bin/composer/bin/composer:63
require() at /usr/local/Cellar/composer/2.0.9/bin/composer:24
config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [-j|--json] [-m|--merge] [--append] [--] [<setting-key>] [<setting-value>]...
And I expected this to happen:
composer.json
{
"name": "wearerequired/example",
"repositories": [
{
"type": "vcs",
"url": "[email protected]:wearerequired/user-roles-adjustments.git"
}
],
"require": {}
}PheysX, DonRichards, GuySartorelli, nikolareljin, TaProhm and 1 more
Metadata
Metadata
Assignees
Labels
No labels