Phpinsights: Issue - Command "insights" is not defined.

Created on 19 May 2019  路  8Comments  路  Source: nunomaduro/phpinsights

I am getting this -

_php artisan vendor:publish --provider="NunoMaduro\PhpInsights\Application\Adapters\Laravel\InsightsServiceProvider"_

Publishing complete.

_php artisan insights_

Command "insights" is not defined.

Please help.

help wanted

Most helpful comment

You have auto discovery enabled?

Yes, I deleted my composer.lock file and reinstalled. Seems to work now.

All 8 comments

I have no idea on how to solve your problem.

What version of Laravel are you using?

@pxgamer Good point. Maybe he needs to register the service provider manually.

Same problem for me, I am running Laravel 5.7

$ php artisan vendor:publish --provider="NunoMaduro\PhpInsights\Application\Adapters\Laravel\InsightsServiceProvider"

Publishing complete.
artisan insights
Command "insights" is not defined.

I am using Laravel 5.8.

You have auto discovery enabled?

You have auto discovery enabled?

Yes, I deleted my composer.lock file and reinstalled. Seems to work now.

Great!

Was this page helpful?
0 / 5 - 0 ratings