Tôi đang gặp một vấn đề cài đặt một gói phần mềm mà tôi tạo ra ....Composer cài đặt/cập nhật thất bại
https://packagist.org/packages/mardy-git/redirect
Theo như tôi có thể nói, tất cả mọi thứ đang làm việc tốt và tôi sẽ có thể cài đặt nó. Tuy nhiên khi tôi chạy nhà soạn nhạc cài đặt hoặc cập nhật tôi nhận được thông báo lỗi sau ...
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.
Và trong tập tin composer.json của tôi, tôi có:
{
"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"
}
}
Đây là một gói phần mềm hoàn toàn mới mà tôi tạo ra chiều nay và tôi đã không gặp phải vấn đề như thế này trước đây vì vậy tôi không có ý tưởng nơi để bắt đầu tìm kiếm một giải pháp. Mọi thứ khác được cài đặt như mong đợi nếu tôi xóa hàng mardy-git/redirect
.
Tôi đã cố gắng thực hiện bản cập nhật tự soạn nhạc và không tạo ra bất kỳ sự khác biệt nào.
thông tin bổ sung:
composer show mardy-git/redirect --verbose
... dẫn đến các phản ứng sau:
[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
More Info, thử nghiệm với chỉ "mardy-git/redirect": "dev-master"
trong file nhà soạn nhạc.
composer install -vvv
Dẫn đến các phản ứng sau:
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.
Có ai có bất kỳ ý tưởng tại sao điều này làm điều này?
bạn nhìn tốt cho là 92. – Prisoner