Closed florian-lefebvre closed 8 months ago
Same problem here using <Trans />
component.
@florian-lefebvre did you find any solution?
Thanks.
No I was trying to migrate an existing project and gave up
I'm not using the Trans component anymore so I could migrate to pnpm but still, no solution here
Seems like its incompatible with i18next v23.x.x. Downgrading to v22 resolved the issue for me.
If it helps anyone:
If you install react-i18next
, it uses version 23 by default and breaks this library, with this same error, the solution is to set the i18next
version to the latest compatible version, in my case it was:
"i18next": "22.4.10",
And change react-i18next
version
"react-i18next": "^12.3.1",
Describe the bug
When running
pnpm dev
, I get the following:To Reproduce
Steps to reproduce the behavior:
pnpm dev
Expected behavior
Shouldn't crash
Context (please complete the following information):
astro-i18next
version: ^1.0.0-beta.21astro
version: ^2.3.0