Comments (6)
I'm currently facing the same issue (only in Docker though, for some reason.)
Could you share your solution, please? 🙂
from react-i18next-gitbook.
Found the issue, apologies
from react-i18next-gitbook.
Just figured out downgrading i18next
to 23.6.0
will get rid of the issue.
from react-i18next-gitbook.
I think I solved my case as well, first, to fix it in general, apply this solution: i18next/react-i18next#1601 (comment)
The reason why it happens only in Docker, seems to be the version of yarn
, at least for me.
Docker images of node
ship with yarn
version 1 by default.
Running yarn set version stable
(version 3 or 4 is fine) and then re-installing the dependencies with yarn install
and rebuilding the project fixes it in Docker for me as well.
from react-i18next-gitbook.
Same issue, @LoLei found any solution yet? I get the error only when building the Nextjs project, not in dev-mode though.
from react-i18next-gitbook.
When I upgraded from 23.4.0 to 23.4.1, this error occurred in all places where the t function was used. How can I fix it? @LoLei @riccardolardi @paulconlin
from react-i18next-gitbook.
Related Issues (20)
- Jest throws an error detecting Trans component. ReferenceError: renderNodes is not defined HOT 1
- Make docs neutral and clean from "ads" HOT 7
- Getting started with escapeValue to false HOT 1
- Add examples of nesting, formatters with Trans HOT 1
- Trans component docs incorrectly say it is does not rerender on language change. HOT 1
- Link to github gitbook repository HOT 1
- ready state is undefined until translations are loaded HOT 1
- Document want the Tag numbers (<1>) in translation files mean HOT 2
- Documentation is difficult to read HOT 3
- Not translating in IE11 HOT 2
- Suggestion fix for local translation files HOT 1
- TypeError: cannot read property 'use' of undefined: i18n.use(initReacti18next).init line of i18n.js HOT 12
- React Hook "useTranslation" is called in function HOT 5
- Actual Language HOT 2
- installation issue with react 16.12.0 version HOT 1
- Need help with markdown HOT 3
- document <Trans /> `link` reserved tag name HOT 3
- On navigate() show child route shows 404 not found HOT 3
- Deep keys does not work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-i18next-gitbook.