php8.0
Composer version 2.1.14
の環境で
composer create-project "laravel/laravel=7.*" reference --prefer-dist
でlaravel7のプロジェクトを作成
https://mebee.info/2020/06/24/post-10995/
のサイトに従いcrudのシステムを構築しようとしましたが
bootstrap導入で
% composer require laravel/ui
を実行すると
Using version ^3.4 for laravel/ui ./composer.json has been updated Running composer update laravel/ui Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - laravel/ui[v3.4.0, ..., 3.x-dev] require illuminate/console ^8.42|^9.0 -> found illuminate/console[dev-master, v8.42.0, ..., 8.x-dev, 9.x-dev (alias of dev-master)] but these were not loaded, likely because it conflicts with another require. - Root composer.json requires laravel/ui ^3.4 -> satisfiable by laravel/ui[v3.4.0, 3.x-dev]. You can also try re-running composer require with an explicit version constraint, e.g. "composer require laravel/ui:*" to figure out if any version is installable, or "composer require laravel/ui:^2.1" if you know which you need. Installation failed, reverting ./composer.json and ./composer.lock to their original content.
のエラーが出て進みません。
次のbootstrap導入も次の通りのエラーが出て導入できません
% composer php artisan ui bootstrap [Symfony\Component\Console\Exception\CommandNotFoundException] Command "php" is not defined. toshinoriito@TOSHINORIs-MacBook-Air reference % composer require laravel/ui 1.* zsh: no matches found: 1.* toshinoriito@TOSHINORIs-MacBook-Air reference % composer php artisan ui bootstrap [Symfony\Component\Console\Exception\CommandNotFoundException] Command "php" is not defined.
ネットで調べて
% composer require laravel/ui 1.* を打つも zsh: no matches found: 1.*
とでて動作しません。
ui 1.*〜7.*まで実行してみましたが結果は一緒でした。
composer require laravel/ui
及び bootsrapの導入方法についてご指導頂きたくお願いします。
回答1件
あなたの回答
tips
プレビュー