mercurius icon indicating copy to clipboard operation
mercurius copied to clipboard

no commands defined in the "mercurous name space"

Open impactcolor opened this issue 4 years ago • 1 comments

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 avatar Sep 13 '19 18:09 impactcolor

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

impactcolor avatar Sep 19 '19 19:09 impactcolor