launcher-host / mercurius

Real-time Messenger for Laravel
http://mercurius.launcher.host/
MIT License
326 stars 51 forks source link

Trait 'Launcher\Mercurius\MercuriusUser' not found #40

Open bilalmubarik opened 5 years ago

bilalmubarik commented 5 years ago

Trait 'Launcher\Mercurius\MercuriusUser' not found" error while starting server.

Server environment

Description

I have followed the entire installation process given on the project page but still when I start the server. this error "Trait 'Launcher\Mercurius\MercuriusUser' not found" comes up. Seems like my new laravel installation isn't picking installing files of this project at all.

akazorg commented 5 years ago

Hi @bilalmubarik, try running composer dump-autoload. If it doesn't work, try reinstall Mercurius.

CristianEnache commented 5 years ago

@bilalmubarik you are correct. When installing via composer, there are a few missing files compared to the git repo. MercuriusUser.php and Message.php from what I noticed. I cloned the repo and copied the files in /vendor/launcher/mercurius/src

akazorg commented 5 years ago

Thanks for confirming this issue @CristianEnache

impactcolor commented 5 years ago

@CristianEnache great catch, this worked for me

abrhambas01 commented 4 years ago

after doing such ?