miracuthbert / saas-boilerplate

SaaS boilerplate built in Laravel, Bootstrap 4 and VueJs.
353 stars 137 forks source link

Error while trying to create admin role #7

Closed arunkamboj closed 4 years ago

arunkamboj commented 4 years ago

When i tried to create admin role using the command "php artisan admin:assign-role example@example.com admin-root" then it shows me following error

Whoops! we could not assign user a role because: No query results for model [SAASBoilerplate\Domain\Users\Models\User].

arunkamboj commented 4 years ago

Sorry, i have found the issue I have create user first then i can assign permission using command.