-
-
Notifications
You must be signed in to change notification settings - Fork 4
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. #5
Comments
interesting, I'll check it out and get back to you. Cheers! |
Yeah, the provider is missing - I've noticed that too. But interestingly enough it works. I actually never published the provider. What do you want to do with the Provider? |
Hi Peter, I try to execute
But it doesn't works.
|
This should work without service provider export. What is your output for |
Laravel Framework 8.33.1 Usage: Options: Available commands: |
It is listed, strange. |
OK i saw the problem: The right command is:
and i was executing
Because i was following this tutorial where they was writing it in the wrong way: |
After executing php artisan sitemap:generate it generates the file public/sitemap.xml with this content:
Is this how it must work or should it index more content of my website? |
Oh, okay. Now I understand. At the very beginning, I had it with |
Did you set a |
I am having the same issue with @climascomunicacion That is the content of the sitemap and yes |
Can you share the output of the sitemap generation command @solamichealolawale ? |
|
Is the site actually available under pay4me.oo or is it a different host @solamichealolawale ? |
Yes, i'm using auto virtual host locally |
It's it directly under |
Yes it's under |
Can you post the |
|
This isn't what I get with |
The |
Ah okay, yeah - makes sense. I didn't get anything back. I'll add some debugging to get to the ground of this... |
Alright then |
Hello @solamichealolawale sorry for the delay. I got busy. I've pushed branch with additional Also: Can you run the package on production? I've noticed my local crawling not including any pages (not sure why yet) but on production it includes everything. |
I downloaded the I tried it on production and it's still the same thing. |
Hmmm, it looks like your hosts don't match up. Which version to use depends
on your environment of the time, a stable version (release) unless you are
debugging as we do now.
…On Mon, 12 Apr 2021 at 12:03, Olusola Olawale ***@***.***> wrote:
I downloaded the debugging branch and copied it to the vendor folder and
I ran the command and it is showing the same thing
[image: image]
<https://user-images.githubusercontent.com/12444227/114361265-d7407b80-9b6d-11eb-8fd9-e1498390e859.png>
Concerning the package, which one should I use on production? Master or
debugging?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACAK7M7M3OOEAPBATHVIGSDTIKSOLANCNFSM4ZNBEXHQ>
.
|
This doesn't match the hostname in the output... |
I used "bringyourownideas/laravel-sitemap": "^2.1" |
If the host name doesn't match, it won't work. This might happen locally. Is this from production? Cheers, |
Hi, @spekulatius I'm using Laravel 7.3 Also when I run Regards, |
Hello @Lilyah, It's not strictly needed to publish the provider. What is your goal in publishing it? Cheers, |
when i ran,
php artisan vendor:publish --provider="BringYourOwnIdeas\LaravelSitemap\SitemapServiceProvider"
there is error message like this :
Unable to locate publishable resources.
Publishing complete.
Using Laravel 8
The text was updated successfully, but these errors were encountered: