Api: Nothing to publish for tag [].

Created on 1 Nov 2016  路  2Comments  路  Source: dingo/api

Hi,

Help me to fix the below issue in Laravel 5.1 version with Dingo Package.
While using "php artisan vendor:publish --provider="Dingo\Api\Provider\LaravelServiceProvider""
command, the terminal shows Nothing to publish for tag [].

How to fix ..

Regards,
Dhanabalan.c

Most helpful comment

I experienced this too, but realized that it was because I hadn't saved the config/app.php file after I added the PackageServiceProvider Dingo\Api\Provider\LaravelServiceProvider::class,.
After saving the file, the command ran. The message means that everything that was in the providers array was already published, which, after realizing this, makes perfect sense.
So remember to add the provider first.

All 2 comments

I have used "php artisan config:clear"

still issue persists.

I experienced this too, but realized that it was because I hadn't saved the config/app.php file after I added the PackageServiceProvider Dingo\Api\Provider\LaravelServiceProvider::class,.
After saving the file, the command ran. The message means that everything that was in the providers array was already published, which, after realizing this, makes perfect sense.
So remember to add the provider first.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dejan7 picture dejan7  路  3Comments

BartHuis picture BartHuis  路  3Comments

pedrolari picture pedrolari  路  3Comments

jhayiwg picture jhayiwg  路  3Comments

MicroDroid picture MicroDroid  路  3Comments