i18next / i18next-browser-languageDetector

language detector used in browser environment for i18next
MIT License
873 stars 90 forks source link

i18next-browser-languageDetector@5.0.0 incompatible with i18next@19.5.1 #217

Closed serena-ramley closed 3 years ago

serena-ramley commented 4 years ago

🐛 Bug Report

Hi there, I saw in your changelog that i18next-browser-languageDetector 5.0.0 requires needs i18next >= 19.5.0.

I tried upgrading i18next to 19.5.1 and i18next-browser-languageDetector to 5.0.0 but it doesn't work.

Using i18next@19.5.0 and i18next-browser-languageDetector@5.0.0 does appear to work however.

The error seen is with i18next@19.5.1 and i18next-browser-languageDetector@5.0.0 is:

ERROR in ../node_modules/i18next/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
Module build failed (from ../node_modules/react-hot-loader/webpack.js):
Error: ENOENT: no such file or directory, open '...\node_modules\i18next\node_modules\@babel\runtime\helpers\esm\assertThisInitialized.js'
ERROR in ../node_modules/i18next/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
Module build failed (from ../node_modules/react-hot-loader/webpack.js):
Error: ENOENT: no such file or directory, open '...\node_modules\i18next\node_modules\@babel\runtime\helpers\esm\classCallCheck.js'
ERROR in ../node_modules/i18next/node_modules/@babel/runtime/helpers/esm/createClass.js
Module build failed (from ../node_modules/react-hot-loader/webpack.js):
Error: ENOENT: no such file or directory, open '...\node_modules\i18next\node_modules\@babel\runtime\helpers\esm\createClass.js'
ERROR in ../node_modules/i18next/node_modules/@babel/runtime/helpers/esm/defineProperty.js
Module build failed (from ../node_modules/react-hot-loader/webpack.js):
Error: ENOENT: no such file or directory, open '...\node_modules\i18next\node_modules\@babel\runtime\helpers\esm\defineProperty.js'
ERROR in ../node_modules/i18next/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
Module build failed (from ../node_modules/react-hot-loader/webpack.js):
Error: ENOENT: no such file or directory, open '...\node_modules\i18next\node_modules\@babel\runtime\helpers\esm\getPrototypeOf.js'
ERROR in ../node_modules/i18next/node_modules/@babel/runtime/helpers/esm/inherits.js
Module build failed (from ../node_modules/react-hot-loader/webpack.js):
Error: ENOENT: no such file or directory, open '...\node_modules\i18next\node_modules\@babel\runtime\helpers\esm\inherits.js'

Environment

adrai commented 4 years ago

Can you please create a reproducable example? Not able to reproduce your issue.