Minatomi
2021年02月03日 01:05
1composer require league/flysystem-aws-s3-v3:"^1.0"
Copy
こちらのコマンドをお試しください
解決済み
2回答
H.M
2021年02月06日 04:02
(編集済み)
S3を利用するためのライブラリをインストールしたい
※できるだけ詳細に記載ください
※必要のない項目であれば削除してください
※テキストをコピー&ぺーストしてください
1ec2-user:~/environment/Amazon/samazon (master) $ composer require league/flysystem-aws-s3-v3 2Using version ^2.0 for league/flysystem-aws-s3-v3 3./composer.json has been updated 4Running composer update league/flysystem-aws-s3-v3 5Loading composer repositories with package information 6Updating dependencies 7Your requirements could not be resolved to an installable set of packages. 8 9 Problem 1 10 - league/flysystem-aws-s3-v3[2.0.0, ..., 2.x-dev] require league/flysystem ^2.0.0 -> found league/flysystem[2.0.0-alpha.1, ..., 2.x-dev] but the package is fixed to 1.1.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. 11 - league/flysystem-aws-s3-v3[2.0.0-alpha.1, ..., 2.0.0-alpha.2] require league/flysystem 2.0.0-alpha.1 -> found league/flysystem[2.0.0-alpha.1] but the package is fixed to 1.1.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. 12 - league/flysystem-aws-s3-v3[2.0.0-alpha.4, ..., 2.0.0-beta.1] require league/flysystem 2.0.0-alpha.3 -> found league/flysystem[2.0.0-alpha.3] but the package is fixed to 1.1.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. 13 - league/flysystem-aws-s3-v3[2.0.0-beta.2, ..., 2.0.0-beta.3] require league/flysystem ^2.0.0-beta.1 -> found league/flysystem[2.0.0-beta.1, ..., 2.x-dev] but the package is fixed to 1.1.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. 14 - league/flysystem-aws-s3-v3 2.0.0-RC1 requires league/flysystem ^2.0.0-RC1 -> found league/flysystem[2.0.0-RC1, ..., 2.x-dev] but the package is fixed to 1.1.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. 15 - Root composer.json requires league/flysystem-aws-s3-v3 ^2.0 -> satisfiable by league/flysystem-aws-s3-v3[2.0.0-alpha.1, ..., 2.x-dev]. 16 17Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. 18 19Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Copy
※Githubのリポジトリリンクでも可
※必要のない項目であれば削除してください
1composer require league/flysystem-aws-s3-v3
Copy
※ここに試したことを詳しく書いてください
※必要のない項目であれば削除してください
※例1. 〇〇の記事を読んで、[ git add. ] をしたが全く反応しなかった
※例2. [ xx xxx ] とGoogleで検索したが全く答えに辿り付けなかった
※例3. https://** を参考に xxx してみた
※ここに前提情報を詳しく書いてください
※必要のない項目であれば削除してください
※Rubyのバージョンは「ruby -v」で調べられます
※例1. Ruby 2.4 Rails 6.0
全2件の回答
Minatomi
2021年02月03日 01:05
1composer require league/flysystem-aws-s3-v3:"^1.0"
Copy
こちらのコマンドをお試しください
H.M
2021年02月03日 11:08
解決しました。ありがとうございます。
キャンセル
萩野友裕
2021年02月05日 12:32
こちら解決されていますでしょうか?もし解決されておりましたら解決済みに切り替えていただけますよう、よろしくお願いいたします。
キャンセル