Closed acdxxx177 closed 1 month ago
Would it be possible to create a minimal reproduction? There's an i18n starter with the sitemap module here: https://stackblitz.com/edit/nuxt-starter-jwuie4?file=app.vue
Would it be possible to create a minimal reproduction? There's an i18n starter with the sitemap module here: https://stackblitz.com/edit/nuxt-starter-jwuie4?file=app.vue
Yes, just add nitro: {preset: "cloudflare-pages",} to the nuxt.config.ts file and then run npm build and an error occurs https://stackblitz.com/edit/nuxt-starter-qmrlyg?file=nuxt.config.ts
@harlan-zw I've found that as long as ‘@nuxtjs/sitemap’, ‘@nuxtjs/i18n’ are combined, it won't run on edge services。
I've tried replicating this but it seems to be working correctly now using the latest version of Nuxt, Nuxt Sitemap and Nuxt I18n. Will close but feel free to re-open if you have issues with the latest versions.
I've tried the latest version and I'm still having the same problem. My version.
"@nuxtjs/i18n": "^8.3.3", "@nuxtjs/sitemap": "6.0.0-beta.1", "nuxt": "^3.12.4"
Detailed links:https://stackblitz.com/edit/nuxt-starter-qmrlyg?file=package.json,nuxt.config.ts
When using the "@nuxtjs/sitemap", "@nuxtjs/i18n", and "preset: 'cloudflare-pages'" configurations together, running 'pnpm build' results in an error.