- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我在安装我创建的包时遇到问题....
https://packagist.org/packages/mardy-git/redirect
据我所知,一切正常,我应该能够安装它。但是,当我运行 composer install 或 update 时,我收到以下错误消息...
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.
And in my composer.json file I have:
{
"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"
}
}
这是我今天下午创建的一个全新的包,我以前没有遇到过这样的问题,所以我不知道从哪里开始寻找解决方案。如果我删除 mardy-git/redirect
行,其他所有内容都会按预期安装。
我已经尝试过 Composer self 更新,但没有任何区别。
附加信息:
composer show mardy-git/redirect --verbose
...导致以下响应:
[InvalidArgumentException] Package mardy-git/redirect not foundException 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
更多信息,仅使用 Composer 文件中的 "mardy-git/redirect": "dev-master"
进行测试。
Composer 安装-vvv
产生以下响应:
Downloading composer.jsonLoading composer repositories with package informationDownloading https://packagist.org/packages.jsonWriting /Users/mbard/.composer/cache/repo/https---packagist.org/packages.json into cacheReading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-active.json from cacheReading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-archived.json from cacheReading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-latest.json from cacheReading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-stale.json from cacheInstalling 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.
有人知道为什么要这样做吗?
最佳答案
Packagist 正在中断。 https://twitter.com/PrincipeBorodin/status/342655643603324929
您所能做的就是尝试联系@packagist 或 packagist.org 上的联系我们页面
我在我的一个项目中看到了完全相同的情况。如果你去 https://packagist.org/packages/base-reality/php-to-javascript可以看到最新版本是0.1.17
但是这样做:
composer show base-reality/php-to-javascript
给予
versions : dev-master, * 0.1.16, 0.1.15, 0.1.14, 0.1.13, 0.1.12, 0.1.11, 0.1.10, 0.1.9, 0.1.8, 0.1.7, 0.1.6, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0, 0.0.9, 0.0.8, 0.0.7, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1
即0.1.17 版本无法通过 composer 获得。
更新
现在已经修复了https://twitter.com/packagist/status/342710331547729920
关于php - Composer 安装/更新失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16964475/
我使用以下命令使用 Composer 删除了一个包。 composer remove sjparkinson/static-review 以上命令从 composer.json 中删除条目文件但 co
我刚刚开始使用 Composer 功能,你告诉它查看本地目录的依赖关系,这样你就可以开发一个库和一些并行使用该库的东西,而不必一直推送到 git 来更新,这是惊人的。例如 "repositories"
composer 和有什么区别和 composer.phar ? 例子: composer install composer.phar install 我一直看到使用 composer.phar 编写
阅读docker-compose -h或this official manual的帮助将为我们提供--project-directory PATH选项 docker-compose [-f ...]
我已经使用他们的安装指南在我的 Linux/Apache 服务器上的根目录(这是默认选择)中成功安装了 Composer。到目前为止,一切都非常简单,除了我必须进行的一个 php.ini 调整( de
在我的 composer.json配置文件,我有: "require": { "zendframework/zend-log" : "~2.3", }, "require-dev": {
从 Composer 安装此软件包后,我想复制位于软件包内的一些文件。 实际上,我希望在从 Composer 安装或更新软件包后,将下载的软件包中可能存在的某个文件复制到另一个目录。我用 script
我对码头公司还是个新手。我使用的是最新版本的Python、Django和Docker。我已经在这个项目上工作了两周了,我已经创建了docker-compose.yml文件,并且已经构建了我的docke
我正在尝试使用 composer 安装一个 github 项目并得到以下错误 Composer [UnexpectedValueException]您的 github.com 的 Github oau
我开发 Symfony 包的工作流程如下: 安装 Symfony 为新包创建一个 git repo,在其中放置一个 composer.json 文件 需要顶级 composer.json 中的新包,使
我正在尝试使用 composer 安装 github 项目并收到以下错误 Composer [UnexpectedValueException] 您用于 github.com 的 Github oau
我们在项目中使用了 composer。当我开发和/或向项目提交任何内容时,我通常应该使用 composer install;更新依赖项只是偶尔进行。 我们还使用 https://github.com/
我在 youtube 上学会了这个抽屉 https://www.youtube.com/watch?v=JLICaBEiJS0&list=PLQkwcJG4YTCSpJ2NLhDTHhi6XBNfk9
我知道在 onClick 中调用可组合函数是不可能的。 @Composable 调用只能在 @Composable 函数的上下文中发生 撰写版本 - alpha06 但我坚持以下要求。 要求是, 在
这是我的 docker-compose.yml 文件: version: '3.1' services: a: image: tutum/hello-world b: imag
创建Asset实例时是否有auto_increment字段类型可用。例如, Assets ID 应该是自动生成的字段,应该在运行时创建,而不是在应用程序级别提及该值。我可以通过创建一个交易处理器函数来
在 Composer 项目中,我必须添加一个库,它没有 composer.json 并且不使用命名空间。因此,我调整了项目的 composer.json 以添加库: { [...] "
当 vendor 目录中已经有一些组件被下载时.. 在上面运行 install 以及运行 update 时有什么影响? 最佳答案 所以我有同样的问题,这是我发现的: composer install
尝试运行 composer install 时出现此错误。我已经运行了 composer update,我正在尝试使用这个最新的锁定文件进行安装。没有任何帮助。 Loading composer re
当我尝试做: $ sudo php composer.phar update 我收到此警告: Warning: This development build of composer is over 3
我是一名优秀的程序员,十分优秀!