problems installing Adminlte in laravel

3

I just plugged in again, I have a problem installing the Adminlte package, I install everything well the composer

composer global require "acacha/adminlte-laravel-installer=~3.0"

but apparently when executing the command

adminlte-laravel install

throws me this error, any information let me know is laravel 5.6

Fatal error: Uncaught Error: Class 'Illuminate\Config\Repository' not 
 found in C:\Users\Administrador
     

ITMS \ AppData \ Roaming \ Composer \ vendor \ fix \ llum \ src \ Console \ LlumCommand.php: 256       Stack trace:       # 0 C: \ Users \ ITMS Administrator \ AppData \ Roaming \ Composer \ vendor \ add \ llum \ src \ Console \ LlumCommand.php (114):   Acacha \ Llum \ Console \ LlumCommand-> obtainConfig ()       # 1 C: \ Users \ ITMS Administrator \ AppData \ Roaming \ Composer \ vendor \ tick \ llum \ llum (20):   Acacha \ Llum \ Console \ LlumCommand->> construct ()       # 2 {main}         thrown in C: \ Users \ ITMS Administrator \ AppData \ Roaming \ Composer \ vendor \ fix \ llum \ src \ Console \ LlumCommand.php   on line 256

    
asked by Danny Escalante 30.09.2018 в 03:36
source

1 answer

3

partners got the answer thanks

in the AdminLTETemplateServiceProvider.php file

we must change

use Illuminate\Console\AppNamespaceDetectorTrait;

for

use Illuminate\Console\DetectsApplicationNamespace;
    
answered by 30.09.2018 / 04:11
source