私は yii2 フレームワークが初めてです。ウィジェットをインストールしようとすると、エラー メッセージが表示されます。私のコマンドはここにあります:
sudo composer require 2amigos/yii2-date-picker-widget:~1.0
エラーは次のとおりです。
お客様の要件は、インストール可能な一連のパッケージに解決できませんでした。
問題1
- The requested package bower-asset/bootstrap-datepicker could not be found in any version, there may be a typo in the package name.
問題 2
- 2amigos/yii2-date-picker-widget 1.0.x-dev requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.5 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.4 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.3 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.2 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.1 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.0 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- Installation request for 2amigos/yii2-date-picker-widget ~1.0 -> satisfiable by 2amigos/yii2-date-picker-widget[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.x-dev].
考えられる原因: - パッケージ名のタイプミス - 最小安定度の設定によると、十分な安定度を備えたバージョンでパッケージを利用できません。詳細。
その他の一般的な問題については、https://getcomposer.org/doc/articles/troubleshooting.mdを参照してください。
誰でも私を助けることができますか?すべての答えに感謝します!