我尝试在正确的目录中使用composer install从composer.json文件安装,但得到以下错误:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package scrapbook/psr-cache could not be found in any version, there may be a typo in the package name.
Problem 2
- The requested package satooshi/php-coveralls dev-master exists as satooshi/php-coveralls[0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.5.0, 1.0.x-dev, 1.1.x-dev, 2.0.x-dev, v0.6.0, v0.6.1, v0.7.0, v0.7.1, v1.0.0, v1.0.1, v1.0.2, v1.1.0, v2.0.0] but these are rejected by your constraint.发布于 2018-04-04 16:50:36
您遇到了一些问题:
1)包列表中没有任何名为scrapbook/psr-cache的包
2)您的composer.json中没有有效的satooshi/php-coveralls版本
我建议您将包psr-cache更改为一个有效包,并修复php-coveralls版本
编写器的错误在这一点上非常明显。
如果您想要检查所有有效的软件包,请参考以下内容:
https://stackoverflow.com/questions/49646477
复制相似问题