Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

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

Open
karneaud opened this issue Dec 22, 2018 · 2 comments

Comments

@karneaud
Copy link

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):

  • OS: Docker Linux

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
Copy link
Member

mlantz commented Dec 26, 2018

Was this performed on a brand new Laravel instance?

@karneaud
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants