Coder Social home page Coder Social logo

Comments (6)

LoLei avatar LoLei commented on May 24, 2024 5

I'm currently facing the same issue (only in Docker though, for some reason.)

Could you share your solution, please? 🙂

from react-i18next-gitbook.

paulconlin avatar paulconlin commented on May 24, 2024 3

Found the issue, apologies

from react-i18next-gitbook.

riccardolardi avatar riccardolardi commented on May 24, 2024 1

Just figured out downgrading i18next to 23.6.0 will get rid of the issue.

from react-i18next-gitbook.

LoLei avatar LoLei commented on May 24, 2024 1

@riccardolardi

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.

riccardolardi avatar riccardolardi commented on May 24, 2024

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.

1020850886 avatar 1020850886 commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.