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

There are no commands defined in the "debugbar" namespace if ServiceProvider is in {environment}/app.php #18

Closed
jonwhittlestone opened this issue Oct 16, 2013 · 11 comments

Comments

@jonwhittlestone
Copy link

Hi

After installing the service provider in the configured environment config/local/app.php , after running php artisan debugbar:publish I get:

There are no commands defined in the "debugbar" namespace

Inserting just in config/app.php is OK however.

Not sure if this is intentional.

@barryvdh
Copy link
Owner

Are you running artisan in the correct env? Try running php artisan env, does it return local?

@jonwhittlestone
Copy link
Author

Ahh yes, that had solved the problem. I had my environment conditions incorrectly set. Thank you

@ammont
Copy link

ammont commented Jul 9, 2014

php artisan debugbar:publish --env=local

returns:

  [InvalidArgumentException]
  There are no commands defined in the "debugbar" namespace.

and:

php artisan env --env=local

returns:

Current application environment: local

@barryvdh
Copy link
Owner

barryvdh commented Jul 9, 2014

And you registered the debugbar serviceprovider correctly?

@ammont
Copy link

ammont commented Jul 9, 2014

Oops, my bad, I have accidentally reverted the config file. thanks.

@xadim
Copy link

xadim commented Mar 17, 2015

Hey I'm having the same issue, what's the matter please?

@barryvdh
Copy link
Owner

You don't need to publish anymore.

@xadim
Copy link

xadim commented Mar 17, 2015

what do you mean?

@xadim
Copy link

xadim commented Mar 17, 2015

I just can't get the debuger running in Laravel 5 local env.

@barryvdh
Copy link
Owner

Okay then open your own issue with more information

@xadim
Copy link

xadim commented Mar 17, 2015

Alright, Thanks!

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

4 participants