Sto avendo un problema l'installazione di un pacchetto che ho creato ....Compositore installazione/aggiornamento in mancanza
https://packagist.org/packages/mardy-git/redirect
Per quanto posso dire, tutto funziona bene e dovrei essere in grado di installalo. Tuttavia quando ho eseguito il compositore installare o aggiornare ottengo il seguente messaggio di errore ...
Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested package mardy-git/redirect could not be found in any version, there may be a typo in the package name. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see for more details. Read for further common problems.
E nel mio file composer.json ho:
{
"require": {
"php": ">=5.4",
"orno/di": "1.*",
"orno/http": "1.*",
"orno/mvc": "dev-master",
"orno/loader": "1.*",
"orno/db": "1.*",
"filp/whoops": "1.0.*",
"symfony/console": "2.3.*@dev",
"zendframework/zendframework": "2.1.*",
"form-manager/form-manager": "dev-master",
"mardy-git/hmac": "0.1.*@dev",
"mardy-git/redirect": "dev-master"
}
}
Questo è un pacchetto nuovo marchio che ho creato questo pomeriggio e non ho riscontrato problemi come questo prima quindi non ho idea di dove iniziare a cercare una soluzione. Tutto il resto si installa come previsto se rimuovo la riga mardy-git/redirect
.
Ho provato a eseguire un aggiornamento automatico del compositore e questo non ha fatto alcuna differenza.
Ulteriori informazioni:
composer show mardy-git/redirect --verbose
... ha provocato la seguente risposta:
[InvalidArgumentException] Package mardy-git/redirect not found Exception trace: () at phar:///usr/local/bin/composer/src/Composer/Command/ShowCommand.php:105 Composer\Command\ShowCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:244 Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:882 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:212 Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:117 Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:119 Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:83 Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:43 require() at /usr/local/bin/composer:15
Ulteriori informazioni, il test con solo "mardy-git/redirect": "dev-master"
nel file compositore.
composer install -vvv
ha provocato la seguente risposta:
Downloading composer.json Loading composer repositories with package information Downloading https://packagist.org/packages.json Writing /Users/mbard/.composer/cache/repo/https---packagist.org/packages.json into cache Reading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-active.json from cache Reading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-archived.json from cache Reading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-latest.json from cache Reading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-stale.json from cache Installing dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested package mardy-git/redirect could not be found in any version, there may be a typo in the package name. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see for more details. Read for further common problems.
Qualcuno ha qualche idea perché questo sta facendo questo?
si guarda bene per essere 92. – Prisoner