无法通过php artisan make:auth或php artisan ui vue--auth,Laravel 7



当我试图通过composer require laravel/ui安装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

相关内容

最新更新