Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bilalmubarik opened this issue Jan 28, 2019 · 5 comments
Open

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

bilalmubarik opened this issue Jan 28, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@bilalmubarik
Copy link

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

Server environment

  • PHP: v7.1.3
  • Laravel: v5.7
  • Database: [MySQL] [5.7.23] (e.g. MySQL 8.0)

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

akazorg commented Feb 1, 2019

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

@CristianEnache
Copy link

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

akazorg commented Feb 17, 2019

Thanks for confirming this issue @CristianEnache

@akazorg akazorg pinned this issue Feb 17, 2019
@akazorg akazorg added the bug Something isn't working label Feb 17, 2019
@impactcolor
Copy link

@CristianEnache great catch, this worked for me

@abrhambas01
Copy link

after doing such ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants