Topic: Pro version npm instructions are so unclear, here's how to npm install Pro packages
stathisntonas free asked 5 years ago
Since npm i
instructions are unclear and caused me 3 hours trying to figure out, here's how to do it:
- From this page , follow the instructions to generate a new SSH key pair. If you want to test the SSH key, run the following when everything is set up:
ssh -T git@git.mdbootstrap.com
and notssh -T git@gitlab.com
as stated in that page. You should get back aWelcome to GitLab, @yourname!
- Head to your profile page in
mdbootstrap gitlab page
- Click on your profile icon on top right and click settings, then navigate to Access Tokens page (direct link)
- Put a name for your access token, leave expire date empty if you wish, check all 3 boxes then click on
Create Personal Access Token
button. - Copy the generated token and paste it into package.json like: (in my case, React Pro)
"mdbreact":"git+https://oauth2:<HERE GOES THE TOKEN YOU COPIED FROM ACCESS TOKENS PAGE>@git.mdbootstrap.com/mdb/react/re-pro.git"
Then everything should work fine!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: mac
- Browser: whatever
- OS: mac
- Provided sample code: Yes
- Provided link: Yes
Tags
Bartłomiej Malanowski staff commented 5 years ago
Do you have any ideas about what can we do to make our installation guide more understandable?
stathisntonas free commented 5 years ago
I guess all it takes is to correct step 1 in gitlab and add step 3 & 4 to the guide.
Thanks for your reply!
Bartłomiej Malanowski staff commented 5 years ago
Thank you for your suggestions! We'll take a look at it closer!
Andre Camargo free commented 5 years ago
Thanks, I bought this about 2 months ago and I could never use it because it was so complicated.
stathisntonas free commented 5 years ago
You’re welcome, it’s been a month and instructions are still not updated!
Bartłomiej Malanowski staff commented 5 years ago
@Andre Camargo what's the problem? Please tell us which step is too complicated so I'll explain it ;)
nborhood free commented 5 years ago
I spent a few minutes reading through the instructions, got that feeling that this was going to take longer than expected, and was very lucky to stumble upon this comment early - thanks for this.