mercurius icon indicating copy to clipboard operation
mercurius copied to clipboard

Trait 'Launcher\Mercurius\MercuriusUser' not found

Open bilalmubarik opened this issue 5 years ago • 5 comments

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.

bilalmubarik avatar Jan 28 '19 09:01 bilalmubarik

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

akazorg avatar Feb 01 '19 02:02 akazorg

@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

CristianEnache avatar Feb 16 '19 08:02 CristianEnache

Thanks for confirming this issue @CristianEnache

akazorg avatar Feb 17 '19 20:02 akazorg

@CristianEnache great catch, this worked for me

impactcolor avatar Sep 18 '19 00:09 impactcolor

after doing such ?

abrhambas01 avatar Feb 07 '20 03:02 abrhambas01