Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trait 'Illuminate\Console\AppNamespaceDetectorTrait' not found error after installing Laracast Generator in Laravel 5.4

Tags:

php

laravel

I am getting this error after installing Laracast Generator plugin in Laravel 5.4.

Trait 'Illuminate\Console\AppNamespaceDetectorTrait' not found error

Now everytime when I try to run my project with php artisan serve this error starts coming.

I come to know from many posts that Laracast Generator plugin still does not support Laravel 5.4. If this is the case then how to completely remove this package from my project so that it will start working again.

Please see screenshot below for the error :- Laracast Generator package issue

Please any one help me to solve the error

like image 616
Amit Gupta Avatar asked Nov 28 '25 06:11

Amit Gupta


1 Answers

Some people have suggested to change the composer.json to :

"require": {
        "laracasts/generators": "dev-master as 1.1.4"
},

check the issue on github

like image 71
Amr Aly Avatar answered Nov 30 '25 19:11

Amr Aly