barryvdh / laravel-omnipay

Omnipay ServiceProvider for Laravel
MIT License
168 stars 46 forks source link

publish issue laravel 6.2 #32

Closed ssahinh closed 2 years ago

ssahinh commented 4 years ago

when i try to vendor:publish givin me this error

"Unable to locate publishable resources."

HamzaDus commented 4 years ago

Only solution is to copy the config manually? anyone?

chaiwei commented 4 years ago

I am using laravel 5.8, tried with php artisan vendor:publish --provider="Barryvdh\Omnipay\ServiceProvider" it seems it is working fine.

HamzaDus commented 4 years ago

hmm, i've tried that too but that was not working as i far as i can remember. Btw, this https://github.com/barryvdh/laravel-omnipay/commit/ea17a4def83b287ac86ce1d7b3e8d2cd61f97302 maybe the issue. The double quotes were missing before i think, anyway i ended copying it manually, to anyone who tries it later, please leave a comment if it does the trick for you.

MattThurling commented 4 years ago

Had the same problem as @HamzaDus when trying to publish using Laravel 7. Fixed by adding double quotes, as per @chaiwei

sprklinginfo commented 4 years ago

had the same issue in laravel 7. so I tried to add double quotes as below and it worked: $ php artisan vendor:publish --provider="Barryvdh\Omnipay\ServiceProvider"

Maybe the readme file should be corrected.

ssahinh commented 2 years ago

@sprklinginfo yes its work. /close