When upgraded to react-scripts 5, getting typesafe_i18n_1.i18n is not a function in runtime. Anyone knows why? #575
Unanswered
jessieweiyi
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I am upgrading a legacy react app using react-scripts 4 to use react-scripts 5. The build was successful. However, I am getting bundle.js:sourcemap:898419 Uncaught TypeError: (0 , typesafe_i18n_1.i18n) is not a function in the browser when running the web site also in dev mode. I have also updated the typesafe-i18n to the latest version 5.19.1.
Anyone knows why?
Error from browser console:
Beta Was this translation helpful? Give feedback.
All reactions