我正在通过composer更新我的yii2,然后恢复到旧的测试版。
以下是我的作曲器上的错误:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package bower-asset/jquery could not be found in any version, there may be a typ
o 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 setti
ng
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
我尝试在packagist上搜索bower-asset/jquery,但没有找到。
感谢您的帮助:)
发布于 2017-11-06 16:51:00
找到了更干净的解决方案。只需在composer.json文件中添加以下存储库
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
观看魔术表演
https://stackoverflow.com/questions/25882271
复制相似问题