[英]Cant make auth through php artisan make:auth or php artisan ui vue --auth, Laravel 7.9.2
当我尝试通过 composer 安装 ui 时需要 laravel/ui 它失败了
$ composer require laravel/ui
Using version ^2.0 for laravel/ui
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files
Installation failed, reverting ./composer.json to its original content.
[RuntimeException]
Could not scan for classes inside "app/database/migrations" which does not appear to be a file nor a folder
require [--dev] [--prefer-source] [--prefer-dist] [--fixed] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
在 composer.json 您可以尝试从classpath
中删除app/database/migration
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.