前提###
ここに質問の内容を詳しく書いてください。
LaravelでWEBアプリを作成するにあたり環境構築をしていたところ
以下のエラーメッセージが発生しました。
教えていただけましたら幸いです
実現したいこと
Laravelをインストールする
発生している問題・エラーメッセージ
エラーメッセージ
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/installer v1.1.0 requires symfony/console ~2.5 -> found symfony/console[v2.5.0, ..., v2.8.52] but the package is fixed to v6.1.4 (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.
- laravel/installer[v1.1.1, ..., v1.2.2] require symfony/console ~2.3 -> found symfony/console[v2.3.0, ..., v2.8.52] but the package is fixed to v6.1.4 (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.
- laravel/installer[v1.3.0, ..., v1.4.1] require symfony/console ~2.3|~3.0 -> found symfony/console[v2.3.0, ..., v2.8.52, v3.0.0, ..., v3.4.47] but the package is fixed to v6.1.4 (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.
- laravel/installer v1.5.0 requires symfony/console ~3.0|~4.0 -> found symfony/console[v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.48] but the package is fixed to v6.1.4 (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.
- Root composer.json requires laravel/installer ~1.1 -> satisfiable by laravel/installer[v1.1.0, ..., v1.5.0].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Laravel
試したこと
ここに問題に対して試したことを記載してください。
補足情報(FW/ツールのバージョンなど)
ここにより詳細な情報を記載してください。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2022/11/12 14:27
2022/11/13 08:30