Topic: Module not found: Can't resolve 'mdb-react-ui-kit'

joshhayles free asked 2 years ago


Expected behavior Should be able to use the mdb-react-ui-kit

Actual behavior Getting this error: Module not found: Can't resolve 'mdb-react-ui-kit'

Resources (screenshots, code snippets etc.) { "name": "mdb5-free-react", "version": "1.0.0", "description": "template for mdb-react-ui-kit", "private": true, "proxy": "http://localhost:3000/", "dependencies": { "react": "17.0.1", "react-dom": "17.0.1", "react-scripts": "4.0.1", "web-vitals": "^0.2.4" }, "scripts": { "start": "PORT=4000 react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "keywords": [ "template", "react" ], "author": "MDBootstrap", "license": "MIT", "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }


joshhayles free answered 2 years ago


This is what I followed npm i mdb-react-ui-kit and that came from this page: https://mdbootstrap.com/docs/b5/react/getting-started/installation/


Krzysztof Wilk staff commented 2 years ago

Hi!

I can't see the mdb-react-ui-kit dependency in the package.jsonfile you provided above. Is it up to date?

Keep coding!


Krzysztof Wilk staff answered 2 years ago


Hi!

Is that your repository or one of ours? If the first option is correct - you didn't install the mdb-react-ui-kit package. Otherwise, check this one (the official and proper one) https://github.com/mdbootstrap/mdb-react-ui-kit/blob/master/package.json and necessarily tell if it works :)

Keep coding!



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.11.0
  • Device: macOS
  • Browser: chrome
  • OS: Catalina
  • Provided sample code: No
  • Provided link: Yes
Tags