useflyyer / next-rosetta

Next.js + Rosetta + TypeScript with native i18n support | Lightweight, simple, easy to integrate, no custom server required and efficient because will only download the locale you need.
https://next-rosetta.vercel.app
MIT License
64 stars 4 forks source link

TypeError: Cannot read property 'locale' of null #40

Closed pablohpsilva closed 2 years ago

pablohpsilva commented 2 years ago

Hello, good evening :)

I need your assistance. I have 2 apps using vercel turborepo. One of them is using next-rosetta, but lately it has stated to fail build with the following error:

Screenshot 2022-05-16 at 19 20 59

The weird thing is that if I delete the repo, clone it again, install using yarn and run it, it works. If I change any files, it crashes again and doesn't work anymore.

Any help?