Topic: Missing MDBDropdown from mdb-react-ui-kit

davead1983 priority asked 1 year ago


When installing I get the following error. Upon inspection there is no MDBDropdownLink in the mdb-react-ui-kit. Please Advise

ERROR in ./node_modules/mdb-react-wysiwyg/dist/mdb-react-wysiwyg.esm.js 72:48-49

export 'MDBDropdownLink' (imported as 'm') was not found in 'mdb-react-ui-kit' (possible exports: MDBAccordion, MDBAccordionItem, MDBAlert, MDBAnimatedNavbar, MDBAnimation, MDBAutocomplete, MDBBadge, MDBBreadcrumb, MDBBreadcrumbItem, MDBBtn, MDBBtnGroup, MDBCard, MDBCardBody, MDBCardFooter, MDBCardGroup, MDBCardHeader, MDBCardImage, MDBCardLink, MDBCardOverlay, MDBCardSubTitle, MDBCardText, MDBCardTitle, MDBCarousel, MDBCarouselItem, MDBChart, MDBCheckbox, MDBChip, MDBChipsInput, MDBCol, MDBCollapse, MDBContainer, MDBDatatable, MDBDateTimepicker, MDBDatepicker, MDBDropdown, MDBDropdownItem, MDBDropdownMenu, MDBDropdownToggle, MDBFile, MDBFooter, MDBIcon, MDBInfiniteScroll, MDBInput, MDBInputGroup, MDBLazyContainer, MDBLazyLoading, MDBLightbox, MDBLightboxItem, MDBListGroup, MDBListGroupItem, MDBLoadingManagement, MDBModal, MDBModalBody, MDBModalContent, MDBModalDialog, MDBModalFooter, MDBModalHeader, MDBModalTitle, MDBMultiRange, MDBNavbar, MDBNavbarBrand, MDBNavbarItem, MDBNavbarLink, MDBNavbarNav, MDBNavbarToggler, MDBPagination, MDBPaginationItem, MDBPaginationLink, MDBPopconfirm, MDBPopconfirmMessage, MDBPopover, MDBPopoverBody, MDBPopoverHeader, MDBProgress, MDBProgressBar, MDBRadio, MDBRange, MDBRating, MDBRatingElement, MDBRipple, MDBRow, MDBScrollbar, MDBScrollspy, MDBScrollspyLink, MDBScrollspySubList, MDBSelect, MDBSelectDeprecated, MDBSideNav, MDBSideNavCollapse, MDBSideNavItem, MDBSideNavLink, MDBSideNavMenu, MDBSmoothScroll, MDBSpinner, MDBStepper, MDBStepperForm, MDBStepperStep, MDBSticky, MDBSwitch, MDBTable, MDBTableBody, MDBTableHead, MDBTabs, MDBTabsContent, MDBTabsItem, MDBTabsLink, MDBTabsPane, MDBTextArea, MDBTimepicker, MDBToast, MDBTooltip, MDBTouch, MDBTypography, MDBValidation, MDBValidationItem, useAnimatedRef, useClipboard, useStickyRef)


Wojciech Staniszewski staff commented 1 year ago

Could you try to clean the npm cache and reinstall dependencies?


waiiki free commented 1 year ago

Same error here for the same one


Wojciech Staniszewski staff commented 1 year ago

Are you installing from npm or by tgz? And which specific version of MDB are you using?


Tynopia priority commented 1 year ago

I have the same problem. I installed it with npm fromgit.mdbootstrap.com/mdb/react/mdb5/prd/mdb5-react-ui-kit-pro-advancedbut it doesn`t seems to work

Edit: You have to use the tgz (https://git.mdbootstrap.com/mdb/react/mdb5/prd/mdb5-react-ui-kit-pro-advanced/-/blob/master/plugins/wysiwyg-editor.tgz). The npm install was updates 4 Months ago and the tgz one week


japan priority answered 1 year ago


Staff doesn't known answer!?

<MDBDropdownLink> was remove from kit, instead of this, you must use <MDBDropdownItem link>


Wojciech Staniszewski staff commented 1 year ago

Yes, it was removed. However, that's not the point here. The error occurred without using it in the code.



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: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 5.0.0
  • Device: Web
  • Browser: Chrome
  • OS: Windows11
  • Provided sample code: No
  • Provided link: No