i18n Module Prerender fails

Imgur
GitHub
GitHub - blouflashdb/fictional-guide
Contribute to blouflashdb/fictional-guide development by creating an account on GitHub.
4 Replies
Cue
Cue2y ago
Set "type": "module" in your package.
Blouflash
BlouflashOP2y ago
it fixed it but I don't understand why
Cue
Cue2y ago
From the docs in Getting Started:
This is necessary because nitro prerender is used for the dynamic import of nuxt i18n config and i18n resources on the Node runtime, on nuxt build.
Blouflash
BlouflashOP2y ago
ty very much
Want results from more Discord servers?
Add your server