Open MrFacundo opened 1 year ago
+1
Noticed:
This repo updated the dep to 0.2.0 today https://github.com/microapps/gatsby-plugin-react-i18next/commit/8b3c3f103cb0f4819ff5a64595ebdf1ae152b5b9
browser-lang just released 0.2.0 last week: https://github.com/wiziple/browser-lang/commit/81e55e2d8654936903d75a9ad6162dbc9d59d445
Many thanks for the reply. I see now the issue is somehow related to an update. However, it's not really clear to me how should I proceed. I've already installed the current versions of both this repo and browser-lang dependency. My package.json says I've "browser-lang": "^0.2.0" installed and package-lock.json says:
"gatsby-plugin-react-i18next": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/gatsby-plugin-react-i18next/-/gatsby-plugin-react-i18next-2.0.5.tgz",
"integrity": "sha512-Nb37hBsHZwu7utply3dHWhJiNmCf871FMfB716Bb6RIuYl1+bvYqxQvcVHWLVdPQ/v3nI2ruqRP6jrJfMFbPcA==",
"requires": {
"bluebird": "^3.7.2",
**"browser-lang": "^0.2.0",**
"outdent": "^0.8.0",
"path-to-regexp": "^6.2.0",
"react-helmet": "^6.1.0"
},
So, I understand gatsby-plugin-react-i18next and browser-lang should be good pals, at least in these versions of themselves.
Should I maybe try to install an older version of this repo?
EDIT: I've installed version 2.0.4 and successfully created a development build
Same here, 2.0.4 works.
Hi, I have that error message when trying to build on development mode.
I've tried installing packages "browser-lang" and "i18next-browser-languagedetector" via npm. I've also deleted node_modules, package-lock.json, run npm install, npm update, gatsby clean and the error persists.
This is in package.json:
Any ideas on how to solve this issue?