jotai-devtools icon indicating copy to clipboard operation
jotai-devtools copied to clipboard

Fail to run with react 17

Open jotamodesto opened this issue 5 months ago • 2 comments

I'm having issues running the devtools in a project created with CRA and react-app-rewired, React is in version 17.0.2, jotai and jotai-devtools are both in latest version but when trying to run it's returning the message.

Failed to compile.

./node_modules/jotai-devtools/node_modules/@mantine/code-highlight/esm/CodeHighlightTabs.mjs
Attempted import error: 'ActionIcon' is not exported from '@mantine/core'.

This message pops with any imports I try to use, not only the <DevTool /> component, if I don't use anything from jotai-devtools then the project runs as expected.

From what I've seen, mantine expects react 18, but I can't upgrade react right now.

Is there any solution? I don't mind downgrading jotai and jotai-devtools but I don't know which version to use.

jotamodesto avatar Sep 17 '24 21:09 jotamodesto