-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Docs: localized sitemap example is broken #63764
Comments
This comment has been minimized.
This comment has been minimized.
you have to upgrade next.js version https://github.com/vercel/next.js/releases/tag/v14.2.0-canary.34 |
Closing as per #63764 (comment), which is the correct answer to this issue. |
how to prevent dependency conflicts after updating to "next": "^14.2.0-canary.52"? ` npm ERR! node_modules/next npm ERR! next@"^14.2.0-canary.52" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer next@"^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0" from next-intl@3.10.0 npm ERR! node_modules/next-intl npm ERR! next-intl@"3.10.0" from the root project |
You need to override the dependency for those packages
|
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What is the improvement or update you wish to see?
https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap#generate-a-localized-sitemap
The localized sitemap example looks like this
If I copy paste that example, it doesn't work.
Also, when selecting "javascript" instead of "typescript", the example disapears.
Is there any context that might help us understand?
I literally copy pasted the example from the docs.
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap#generate-a-localized-sitemap
The text was updated successfully, but these errors were encountered: