launcher-host / mercurius

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

no commands defined in the "mercurous name space" #46

Open impactcolor opened 5 years ago

impactcolor commented 5 years ago

Laravel 5.6.32 I've walked through the entire process. I was assuming that php artisan mercurius:install Would automatically set everything to work in an existing project. That was not the case for me. The routes 'namespace' => '\Launcher\Mercurius\Http\Controllers', caused an error for me as it was using my current app name space as the base so it would add this to App\Controllers\Launcher... etc.. I had to copy the files over to the controllers folder and reset the namespace. Now I'm getting this error:

  "message": "Call to undefined method Illuminate\\Foundation\\Application::select()",
    "exception": "Symfony\\Component\\Debug\\Exception\\FatalThrowableError",
    "file": "/Users/ohms/Code/Trackerfy/vendor/launcher/mercurius/src/Repositories/ConversationRepository.php",
    "line": 175,
    "trace": [
        {
            "file": "/Users/ohms/Code/Trackerfy/app/Http/Controllers/ProfileController.php",
            "line": 92,
            "function": "notifications",
            "class": "Launcher\\Mercurius\\Repositories\\ConversationRepository",
            "type": "->"
        },

Any ideas what's going on with it?

impactcolor commented 5 years ago

Also in config file I see 'conversations' => Launcher\Mercurius\Models\Conversation::class,. but I don't see a Conversation model file.