Illuminate \ Contracts \ Container \ BindingResolutionException

Posted by

Error :

Illuminate\Contracts\Container\BindingResolutionException - Target class [CommandMakeCommand] does not exist

Solution:

Step 1:

First remove nwidart/laravel-modules by running: composer remove nwidart/laravel-modules

Step 2:

Then remove config/modules.php by deleting it.

Step 3:

Reinstall nwidart/laravel-modules by running: composer require nwidart/laravel-modules

Hope this helps (backup your project first):

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x