Topic: export 'MDBChart' (imported as 'MDBChart') was not found in 'mdb-react-ui-kit'

Yohana Habsari premium asked 1 year ago

Expected behavior MDBChart

Actual behavior export 'MDBChart' (imported as 'MDBChart') was not found in 'mdb-react-ui-kit'

Resources (screenshots, code snippets etc.) export 'MDBChart' (imported as 'MDBChart') was not found in 'mdb-react-ui-kit' (possible exports: MDBAccordion, MDBAccordionItem, MDBBadge, MDBBreadcrumb, MDBBreadcrumbItem, MDBBtn, MDBBtnGroup, MDBCard, MDBCardBody, MDBCardFooter, MDBCardGroup, MDBCardHeader, MDBCardImage, MDBCardLink, MDBCardOverlay, MDBCardSubTitle, MDBCardText, MDBCardTitle, MDBCarousel, MDBCarouselCaption, MDBCarouselElement, MDBCarouselInner, MDBCarouselItem, MDBCheckbox, MDBCol, MDBCollapse, MDBContainer, MDBDropdown, MDBDropdownDivider, MDBDropdownHeader, MDBDropdownItem, MDBDropdownLink, MDBDropdownMenu, MDBDropdownToggle, MDBFile, MDBFooter, MDBIcon, MDBInput, MDBInputGroup, MDBListGroup, MDBListGroupItem, MDBModal, MDBModalBody, MDBModalContent, MDBModalDialog, MDBModalFooter, MDBModalHeader, MDBModalTitle, MDBNavbar, MDBNavbarBrand, MDBNavbarItem, MDBNavbarLink, MDBNavbarNav, MDBNavbarToggler, MDBPagination, MDBPaginationItem, MDBPaginationLink, MDBPopover, MDBPopoverBody, MDBPopoverHeader, MDBProgress, MDBProgressBar, MDBRadio, MDBRange, MDBRipple, MDBRow, MDBScrollspy, MDBScrollspyNavItem, MDBScrollspyNavLink, MDBScrollspyNavList, MDBScrollspySection, MDBSpinner, MDBSwitch, MDBTable, MDBTableBody, MDBTableHead, MDBTabs, MDBTabsContent, MDBTabsItem, MDBTabsLink, MDBTabsPane, MDBTextArea, MDBTooltip, MDBTypography, MDBValidation, MDBValidationItem)

Krzysztof Wilk staff commented 1 year ago


Could you remove node_modules catalog, yarn.lock or package-lock.json, run npm cache clean --force or yarn cache clean and reinstall the package? If not - could you specify which package you use? I checked that on pro-essential (both with typescript and not) and everything seems to work properly.

Yohana Habsari premium commented 1 year ago

already did your suggestion still happening ; I use this code from and use the package mdbreact-5.2.0.tgz from my membership file

Krzysztof Wilk staff commented 1 year ago


The mdbreact-5.2.0.tgz package is an older version of MDB - MDB4. You are checking the documentation for the latest one - MDB5 React (which is in version 4.0.0 currently). Check this page to learn how to use charts in MDB4 React :) -

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

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 4.0.0
  • Device: PC
  • Browser: chrome
  • OS: WIndows
  • Provided sample code: No
  • Provided link: No