GrafiteInc / CMS

Decoupled CMS for any Laravel app, gain control of: pages, blogs, galleries, events, images, custom modules and more.
https://cms.grafite.ca
MIT License
495 stars 104 forks source link

Whoops\Exception\ErrorException : Trait 'App\Servcies\Traits\HasRoles' not found #189

Open karneaud opened 5 years ago

karneaud commented 5 years ago

Describe the bug Experiencing a Whoops\Exception\ErrorException error when trying to run php artisan grafite:cms-setup

To Reproduce Steps to reproduce the behavior:

  1. Run command php artisan grafite:cms-setup

Expected behavior to run and complete cms-setup successfully

Desktop (please complete the following information):

Additional context

Whoops\Exception\ErrorException : Trait 'App\Servcies\Traits\HasRoles' not found

at /var/www/html/app/Services/UserService.php:23 19| use Illuminate\Support\Facades\Schema; 20| 21| class UserService 22| {

23| use HasRoles, 24| HasTeams;

mlantz commented 5 years ago

Was this performed on a brand new Laravel instance?

karneaud commented 5 years ago

correct I had to manually check the stubs for the generator for it to output correctly