Closed AmineZeggaf99 closed 2 years ago
Any news on this?
Did you call it that way:
php artisan vendor:publish --provider="NotificationChannels\ExpoPushNotifications\ExpoPushNotificationsServiceProvider" --tag="migrations"
?
@Hirbod Yes! when try to install via composer the provider isn't added to the providder list on config/app.php, so try to publish with vendor but dont work. I try to manually added but need to see some example of how the repo works before lost several hours trying to make it work
I'm using it since a year. I remember I had the same issue and resolved those by copying stuff manually but not sure what I've done. But ever since then, everything is working fine.
I didn't encounter this but also i haven't used it on Laravel7+. I'll try to solve it.
I had this problem, but composer was actually the problem....
When installing the package I had this output:
php composer.phar require alymosul/laravel-exponent-push-notifications Using version ^2.1 for alymosul/laravel-exponent-push-notifications ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Killed
If composer kills itself, then the migration won't be available, but composer.json thinks the package is installed properly. In my case a vm was out of memory, when I ran the install commands again after fixing this the vendor:publish command works fine.
Original post below left for anyone else experiencing this.. _This is also an issue on Laravel 6.x
php artisan vendor:publish --provider="NotificationChannels\ExpoPushNotifications\ExpoPushNotificationsServiceProvider" --tag="migrations" Unable to locate publishable resources. Publishing complete.
php artisan migrate Nothing to migrate._
I had the same problem (Laravel 6.x) but looking at the code I found that every config('exponent-push-notifications.*') wasn't working, I run php artisan config:cache
and everything worked.
I had the same problem (Laravel 6.x) but looking at the code I found that every config('exponent-push-notifications.*') wasn't working, I run
php artisan config:cache
and everything worked.
saved my day. Thank you. Laravel 7.X
the php artisan vendor:publish returns Unable to locate publishable resources