【发布时间】:2020-01-11 10:13:22
【问题描述】:
我在 laravel 中开始了一个新项目,但我的作曲家安装了新版本的 laravel 6.0.1。
Php artisan make:auth 命令不起作用。
我尝试了很多次,但错误无法消除
composer require laravel/ui
已安装但 当我使用第二个命令时:
php artisan ui vue --auth
然后系统向我显示此消息:
Command "ui" is not defined.
Using version ^1.0 for laravel/ui
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 129
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 129
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.
【问题讨论】:
-
在担心 laravel UI 之前,你不应该处理 PHP 抛出的致命错误吗,内存不足会给 Composer 带来问题
标签: laravel laravel-6 laravel-authentication