Topic: MDBDraggable and MDBSortable do not exist
tgolen
priority
asked 10 months 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
priority
answered 10 months 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 10 months 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 10 months 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
tgolen priority commented 10 months ago
Hi, thank you for more information, but it doesn't appear that I have access to that part of the repository
npm error code 128
npm error An unknown git error occurred
npm error command git --no-replace-objects ls-remote https://oauth2:***@git.mdbootstrap.com/mdb/react/mdb5/plugins/prd/drag-and-drop
npm error remote: The project you were looking for could not be found or you don't have permission to view it.
Mateusz Lazaru staff commented 10 months ago
we're checking your account. Please confirm you tried the npm install with the git+https
part.
Edit: You have the Essential plan, while the Advanced is needed to have access to the plugins.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- 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