Example name is with-react-i18next.
When using react-i18next v8.0.4 in the demo, we get a 500 server error:
TypeError: Cannot set property 'wait' of undefined
Note that v8.0.4 is the latest release of react-i18next at this moment.
Steps to reproduce the behavior, please provide code snippets or a repository:
react-i18next with the version 8.0.4The page should be displayed.
None.
{
"name": "react-i18next-nextjs-example",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"dev": "node server.js",
"build": "next build",
"start": "NODE_ENV=production node server.js"
},
"author": "",
"license": "MIT",
"dependencies": {
"express": "4.16.3",
"i18next": "11.9.0",
"i18next-browser-languagedetector": "2.2.3",
"i18next-express-middleware": "1.4.0",
"i18next-node-fs-backend": "2.1.0",
"i18next-xhr-backend": "1.5.1",
"next": "latest",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-i18next": "8.0.4"
}
}
None.
its broken from react-i18next version 8.0.0
could you please try the sample here: https://github.com/i18next/react-i18next/tree/master/example/nextjs
just updated that to v8.0.6 of react-i18next
It works with this new update, thank you @jamuhl
@Nelrohd I assume this issue can be closed now? (and #5368 should be merged in to prevent others from getting same error!)
Yes, we can close it with the merge @Enalmada ! Thank you!
Most helpful comment
It works with this new update, thank you @jamuhl