Cannot install mdb-react-ui-kit with react 19


Topic: Cannot install mdb-react-ui-kit with react 19

Peter Schorn asked 6 days ago

Attempting to install mdb-react-ui-kit in a project that uses react 19 produces a dependency resolution error:

$ npm i mdb-react-ui-kit 
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: vite-project-2@0.0.0
npm error Found: @types/react@19.1.4
npm error node_modules/@types/react
npm error   dev @types/react@"^19.1.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @types/react@"^18.0.9" from mdb-react-ui-kit@9.0.0
npm error node_modules/mdb-react-ui-kit
npm error   mdb-react-ui-kit@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/pschorn/.npm/_logs/2025-05-20T04_23_13_633Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/pschorn/.npm/_logs/2025-05-20T04_23_13_633Z-debug-0.log

Mateusz Lazaru staff answered 5 days ago

We have not yet updated the library to react 19. It may not work as expected.


Peter Schorn commented 5 days ago

Do you plan on updating the library to react 19 any time soon?


Mateusz Lazaru staff commented 4 days ago

We are planning an update, but I don't know the exact date. Certainly not in the next few weeks.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 9.0.0
  • Device: Macbook Pro
  • Browser: Chrome
  • OS: macOS
  • Provided sample code: No
  • Provided link: No
Tags