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

No sitemap is created. Help. #2

Closed
todaynogada opened this issue Apr 11, 2022 · 7 comments
Closed

No sitemap is created. Help. #2

todaynogada opened this issue Apr 11, 2022 · 7 comments
Assignees

Comments

@todaynogada
Copy link

todaynogada commented Apr 11, 2022

No sitemap is created. Help.

node 16.14.2
npm 8.5.0
nuxtjs3 latest

@benoitdemaegdt
Copy link
Owner

Hey 👋

Thank you for creating this issue.
Indeed, it seems that that the latest Nuxt3 release broke the sitemap generation 😞

I'll investigate that as soon as possible.

@todaynogada
Copy link
Author

thank you

@benoitdemaegdt
Copy link
Owner

This is because nitro:generate hook was removed in latest nuxt3 version.

They should add it back in coming days
nuxt/nuxt#13701

@fiamma06
Copy link

Do it have temporary solution?

@benoitdemaegdt
Copy link
Owner

benoitdemaegdt commented Apr 14, 2022

A Pull Request was opened few days ago.

I guess it should fix this issue once merged

nuxt/framework#4304

@benoitdemaegdt benoitdemaegdt self-assigned this Apr 19, 2022
@benoitdemaegdt
Copy link
Owner

Hey there 👋

It should be fixed now.
Please copy paste the lastest version of sitemap.ts.

Then run
npm run dev
And you should be able to access the sitemap at this url : http://localhost:3000/sitemap.xml

@todaynogada
Copy link
Author

good!!!
thank you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants