-
-
Notifications
You must be signed in to change notification settings - Fork 766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught SyntaxError: Unexpected token #2302
Comments
Does it work with react-i18next < 15 ? |
When i use next-i18next < 12.1.0 it work, but not work 15 |
can you keep next-i18next on v15.3.1 |
//cc @VIKTORVAV99 |
I suspect it's this line: i18next/react-i18next@926baf4#diff-f00be3776778d4a72e4f0720b43138c8a7f09e508f31a1987b8952410b315518R17 |
You should be transpiling your code or pinning the dependencies to support older versions of browsers. This is not a library or package issue IMO. |
@crackAsmiles out of curiosity, can you also try with react-i18next v15.0.3 |
index.js?1ad7:687 Uncaught SyntaxError: Unexpected token '=' at Object../node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/react-i18next/dist/es/context.js (_app.js:3465) at Object.options.factory (webpack.js:675) at webpack_require (webpack.js:37) at fn (webpack.js:330) at eval (VM1851 Trans.js:8) at Module../node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/react-i18next/dist/es/Trans.js (_app.js:3432) at Module.options.factory (webpack.js:675) at webpack_require (webpack.js:37) at fn (webpack.js:330) at eval (VM1850 index.js:26) at Module../node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/react-i18next/dist/es/index.js (_app.js:3498) at Module.options.factory (webpack.js:675) at webpack_require (webpack.js:37) at fn (webpack.js:330) at eval (VM1849 index.js:11) at Module../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/next-i18next/dist/esm/index.js (_app.js:72) at Module.options.factory (webpack.js:675) at webpack_require (webpack.js:37) at fn (webpack.js:330) at eval (_app.tsx:8) at Module../src/pages/_app.tsx (_app.js:2827) at Module.options.factory (webpack.js:675) at webpack_require (webpack.js:37) at fn (webpack.js:330) at eval (?7952:5) at eval (route-loader.js?2cce:234)
🐛 Bug Report
I encountered this issue in an Android WebView. How can I resolve it?
Your Environment
The text was updated successfully, but these errors were encountered: