The laravel-admin installation follows the official documentation step by step and reports an error in the php artisan admin:install command.

Laravel Version: 5.5
PHP Version:7.0
Laravel-admin: 1.5.*

follow the official documentation step by step when installing laravel-admin.
in the php artisan admin:install command, prompt me
There are no commands defined in the "admin" namespace.
for some reason, Baidu searched but didn"t find the same problem. Ask for great guidance
document address: http://laravel-admin.org/docs.
Steps To Reproduce:
first step: composer require encore/laravel-admin" 1.5.* "correct
second step: php artisan vendor:publish-provider=" EncoreAdminAdminServiceProvider "correct Publishing complete.
third step: php artisan admin:install error prompt There are no commands defined in the" admin "namespace.

Mar.14,2021

have you solved the problem you encountered?


because the database is not connected properly, please check the configuration


  1. configure .env file, configure database and user and password information
  2. run the command php artisan list,. If admin is not found, rerun the previous two commands.

https://blog.csdn.net/zhezheb.


clipboard.png
add this sentence after executing


php artisan vendor:publish-- provider=" EncoreAdminAdminServiceProvider "to see that the admin.php file under config will be generated after this command is executed.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c28360-33055.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c28360-33055.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?