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

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

Open
impactcolor opened this issue Sep 13, 2019 · 1 comment
Open

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

impactcolor opened this issue Sep 13, 2019 · 1 comment

Comments

@impactcolor
Copy link

impactcolor commented Sep 13, 2019

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant