Yii2-日期选择器扩展未安装

时间:2016-10-29 19:09:34

标签: yii2-extension

在composer.json中,我在require部分输入了"nex/yii2-datepicker" : "*",最小稳定性是稳定的。现在我运行composer update,然后显示foll错误

Loading composer repositories with package information 
Updating dependencies (including require-dev)
Content-Length mismatch
http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

Your requirements could not be resolved to an installable set of packages.

问题1   - 请求包nex / yii2-datepicker *可由nex / yii2-datepicker [dev-master]满足,但这些与您的要求或最小稳定性相冲突

1 个答案:

答案 0 :(得分:0)

替换composer.json

"minimum-stability": "stable",

"minimum-stability": "dev",
"prefer-stable": true,