I am getting the following error on any NPM install with Next 15 (using React 19). Previous version of Next.js with React 18 do not have this issue. Do I just have to use the --legacy-peer-deps or is there some other issue that can be addressed? I was under the impression that this version of Mantine was compatible with React 19.
Error:
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error react@"19.0.0-rc-66855b96-20241106" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^18.x || ^19.x" from @mantine/[email protected]
npm error node_modules/@mantine/hooks
npm error @mantine/hooks@"^7.14.1" from the root project
npm error peer @mantine/hooks@"7.14.1" from @mantine/[email protected]
npm error node_modules/@mantine/core
npm error @mantine/core@"^7.14.1" from the root project