You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failed to resolve import "mantine-react-table/locales/fr" #390
Do you intend to try to help solve this bug with your own PR?
None
Terms
I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Hey sorry for the late reply, we need to look into this as it has it keeps popping up. It has been very difficult to get the bundler to play nice with these files. One (very ugly) workaround can be to copy the contents of the localization file to your project (is just a plain JS object) and use that in the meantime.
I got the same kind of error when importing locale files. I mananged to work around it by changing import { MRT_Localization_SV } from "mantine-react-table/locales/sv";
to import { MRT_Localization_SV } from "mantine-react-table/locales/sv/index.cjs";
Reacted by ubunterro, Mattsy, Samantha Gadet and Javier
I got the same kind of error when importing locale files. I mananged to work around it by changing import { MRT_Localization_SV } from "mantine-react-table/locales/sv"; to import { MRT_Localization_SV } from "mantine-react-table/locales/sv/index.cjs";
Activity
JulioGiovanni commentedon Aug 26, 2024
I have the same issue but with the ES localization

alessandrojcm commentedon Aug 27, 2024
Hey sorry for the late reply, we need to look into this as it has it keeps popping up. It has been very difficult to get the bundler to play nice with these files. One (very ugly) workaround can be to copy the contents of the localization file to your project (is just a plain JS object) and use that in the meantime.
oskarcronwall commentedon Sep 13, 2024
I got the same kind of error when importing locale files. I mananged to work around it by changing
import { MRT_Localization_SV } from "mantine-react-table/locales/sv";to
import { MRT_Localization_SV } from "mantine-react-table/locales/sv/index.cjs";alessandrojcm commentedon Nov 4, 2024
Is your project using ESM?