Closed rxtsel closed 6 months ago
This only happens in development mode. The local server is shut down when running pnpm run dev
. But when uploading to prod it works perfectly
This also happens to LanguageSelector and HeadHrefLang components.
This also happens to LanguageSelector and HeadHrefLang components.
That's right, it happens with utility components
This also happens to LanguageSelector and HeadHrefLang components.
That's right, it happens with utility components
Just try an older version. Downgrading worked.
Are there any solutions to this problem? I'm facing it and am looking for a fix
@V-Mokhun Downgrade the version of the i18n lib.
@timwehrle to which one exactly? I now have: "astro-i18next": "^1.0.0-beta.21", "react-i18next": "^13.5.0",
@V-Mokhun I used "astro-i18next": "^1.0.0-beta.21" in my astro app. I don't know maybe there are some other conflicts with react-i18next? I only used astro-i18next and the "i18next": "^22.5.1".
@timwehrle Thanks, after the whole day I fixed it somehow ;) For anyone else wondering, I downgraded react-i18next to 12.0.0 and i18next to 22.5.1
I get errors when I am in development mode. If I import a utility component, in this case the Trans component, I immediately crash the server. I get the following error in the console:
To Reproduce
Steps to reproduce the behavior:
Screenshots
astro-i18next
version: [1.0.0-beta.21]astro
version: [3.1.3]Code here:
https://github.com/abouthernan/qantto/blob/01118012171309043c95951074f573b32d9a5066/src/components/Hero.astro#L65C10-L65C16