Topic: MDBDraggable and MDBSortable do not exist

tgolen premium asked 2 weeks ago


Expected behavior According to https://mdbootstrap.com/docs/react/plugins/drag-and-drop/ these two components are supposed to be available in the mdb-react-drag-and-drop package. When I run "npm install mdb-react-drag-and-drop" I expect the package to install and provide the components.

Actual behavior When I run the NPM install, it results in this error: Not Found - GET https://registry.npmjs.org/mdb-react-drag-and-drop - Not found

Where do I get the drag and drop plugin? I can't find it online or in the MDB gitlab repo that I have access to.

Resources (screenshots, code snippets etc.)


tgolen premium answered 1 week ago


Hi, thank you for those instructions. I tried it, but it results in an NPM error.

When I ran the command, I did use my correct ACCESS_TOKEN but I have redacted it here in order to show you the full command and output.

% npm i https://oauth2:ACCESS_TOKEN@git.mdbootstrap.com/mdb/react/mdb5/plugins/prd/drag-and-drop npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_ENTRY_INVALID checksum failure npm warn tar TAR_BAD_ARCHIVE: Unrecognized archive format npm error code TAR_BAD_ARCHIVE npm error TAR_BAD_ARCHIVE: Unrecognized archive format


Mateusz Lazaru staff commented 6 days ago

oh sorry, that's the correct install command: npm i git+https://oauth2:ACCESS_TOKEN@git.mdbootstrap.com/mdb/react/mdb5/plugins/prd/drag-and-drop


Mateusz Lazaru staff answered 1 week ago


There is a short tutorial on how to install plugins:https://mdbootstrap.com/docs/react/pro/plugins-installation/#section-npm-existing-project

Basically, you'll need to generate auth token on gitlab and install the plugin directly from gitlab, likenpm i git+https://oauth2:ACCESS_TOKEN@git.mdbootstrap.com/mdb/react/mdb5/plugins/prd/drag-and-drop



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: Premium
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 9.0.0
  • Device: Mackbook Pro
  • Browser: Chrome
  • OS: Mac OS
  • Provided sample code: No
  • Provided link: Yes