material-ui/core@3.9.3 react 16.3.0 dependency

Topic: material-ui/core@"3.9.3" react 16.3.0 dependency

probert100 pro premium priority asked a year ago

Expected behavior Hi,

I'm attempting to use mdb react pro in a project that was just created using CRA. I'm adding MDB using:

npm i git+

Actual behavior

It fails with this error:

npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.3.0" from @material-ui/core@3.9.3
npm ERR! node_modules/mdbreact/node_modules/@material-ui/core
npm ERR!   @material-ui/core@"3.9.3" from mdbreact@5.0.2
npm ERR!   node_modules/mdbreact
npm ERR!     mdbreact@"git+" from the root project
npm ERR! 

Resources (screenshots, code snippets etc.)

My current package.json:

  "name": "login",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@testing-library/jest-dom": "^5.11.4",
    "@testing-library/react": "^11.1.0",
    "@testing-library/user-event": "^12.1.10",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-scripts": "4.0.3",
    "web-vitals": "^1.0.1"
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  "eslintConfig": {
    "extends": [
  "browserslist": {
    "production": [
      "not dead",
      "not op_mini all"
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"

probert100 pro premium priority answered a year ago

I installed it using --legacy-peer-deps but I wonder if there will be some runtime issues?

Krzysztof Wilk staff commented a year ago


I think there won't be runtime issues. If you'll find some other problems - feel free to write on this forum :)

Keep coding!

Please insert min. 20 characters.


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



Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB4 5.0.1
  • Device: Laptop
  • Browser: Chrome 85.0.4183.102
  • OS: OS X 10.15.6
  • Provided sample code: No
  • Provided link: Yes