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

Unable to locate publishable resources. #45

Open
Edu-Vin opened this issue May 12, 2021 · 4 comments
Open

Unable to locate publishable resources. #45

Edu-Vin opened this issue May 12, 2021 · 4 comments
Labels
Help Needed Any reader that could help solving this issue would be much appreciated!! local issue Affects user installed app only to confirm solved Waiting for user feedback

Comments

@Edu-Vin
Copy link

Edu-Vin commented May 12, 2021

Using Laravel 7, when I run php artisan vendor:publish --tag=panichd-db I get an error message "Unable to locate publishable resources".

@xaviqv xaviqv added Help Needed Any reader that could help solving this issue would be much appreciated!! local issue Affects user installed app only labels May 14, 2021
@xaviqv
Copy link
Contributor

xaviqv commented May 14, 2021

Hello @Edu-Vin,

Please review PanicHD installation steps. Also, although with Laravel 7 you should not need to add PanicHDServiceProvider manually, I would try to do that step and see if you still get the same error or not.

@xaviqv xaviqv added the to confirm solved Waiting for user feedback label May 14, 2021
@Saraf-SPb
Copy link

Saraf-SPb commented May 26, 2021

I am using Laravel 8 and am getting the same error, can't do anything with it for days.
I put pure Laravel
omposer require panichd / panichd
I create panichd_attachments and panichd_thumbnails folders according to the manual
php artisan vendor: publish --tag = panichd-db
I get the error Unable to locate publishable resources.
mysait / panichd gives 404 error

@xaviqv
Copy link
Contributor

xaviqv commented May 26, 2021

Hello @Saraf-SPb,

If /panichd URL gives 404 error after following PanicHD installation steps until number 3, It may be because PanicHDServiceProvider is not being properly loaded. If you're using Laravel 5.5 or newer, please check in your Laravel composer.json if there is a "dont-discover" parameter configured, or any other that may be (explicitly or not) blocking PanicHD to load.

You may test two things:

  • Execute composer dump-autoload and try again.
  • Add PanicHDServiceProvider manually, according to installation step 3 as If you were working with an older Laravel installation.

@Clyff
Copy link

Clyff commented Jul 7, 2022

I had this Issue with Laravel 8.x and it resolved after running composer update. Not sure why the providers wans't listed before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Needed Any reader that could help solving this issue would be much appreciated!! local issue Affects user installed app only to confirm solved Waiting for user feedback
Projects
None yet
Development

No branches or pull requests

4 participants