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

Error in build process with Paths #37

Closed sebastiansandoval27 closed 2 years ago

sebastiansandoval27 commented 2 years ago

I'm executing "npm run build" but i have the next error:

err1

err2 This error just appears when I export the "table" props of next-rosetta

lopezjurip commented 2 years ago

Make sure to have your i18n directory outside /pages

Also check if the path at await import(here) is valid and it importing the expected file.