Topic: Installing pro version with npm
smaily free asked 2 years ago
Is it possible to install the pro version using npm without having the access token in the repo URL like in git+https://oauth2:xxx@git.mdbootstrap.com/mdb/react/mdb5/prd/mdb5-react-ui-kit-pro-essential
?
The reason for this is to avoid leaking the access token into package.json dependencies and into version control.
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: Other
- MDB Version: -
- Device: Other
- Browser: Other
- OS: Other
- Provided sample code: Yes
- Provided link: No
Marcin Luczak staff commented 2 years ago
Hi,
We have not had such a question so far, so thank you for keeping in mind privacy issues :) You should still use GitLab token for pro package installation, but you can try to use any of the solutions below:
https://stackoverflow.com/a/40312033 https://stackoverflow.com/a/34650617
If one of them will work for you, please inform us, and it may become a part of our documentation :)
Keep coding, Marcin