3 Replies
Hi @florent. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. The error message suggests that there's an issue with the way the '@mui/material/Box' module is being imported in your '@refinedev/mui/dist/index.mjs' file. However, without more context or information, it's hard to provide a definitive solution.
It's worth noting that directory imports for ES modules are not supported, which is what the error message is indicating. You might need to adjust your import statement to point directly to the specific file you need, rather than the directory.
For more information, you might find it helpful to review the Refine documentation (https://refine.dev/docs/getting-started/installation) or seek help from the Refine community (https://discord.com/channels/837692625737613362/1205453721228541972).
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
deep-jade•9mo ago
I'm having a similar issue
adverse-sapphire•9mo ago
Hey @florent, can you give more info about your project/environment? Are you using a CRA app?