Topic: MDB CLI
MMirabito priority asked 1 year ago
Dear support I have two issues
When using MDB CLI with ZScaler the login will fail see screenshot below. Currently the solution is turn off ZScaler but this not really good for my work. What can I do to fix the issue?
- With ZScalar turned off I issue :
mdb login
mdb init
Select MDB5 Advanced - Standard + Vite
I get fatal: Authentication failed for 'https://git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-advanced/'
Any help in resolving this issues are greatly appreciated.
thanks max
Katarzyna Pietroń staff answered 1 year ago
Hello, did you generate and replace ACCESS_TOKEN in your package.json file as described in the instructions I attach below? https://mdbootstrap.com/docs/standard/pro/installation/#section-npm
MMirabito priority commented 1 year ago
Hi Katarzyna,
I created an access token and it looks something like this *z6xxxxxxxx_xxxxxxxjc** and you mentioned to "replace ACCESS_TOKEN in your package.json file".
I am not seeing an example where I can replace it in the package.json. is this possible because I would actually prefer this method?
But I was able to do this: npm install git+https://oauth2:z6xxxxxxxx_xxxxxxxjc@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-advanced --save
Thank you for your patience.
max
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 CLI / MDB GO
- MDB Version: 3.4.0
- Device: NA
- Browser: NA
- OS: Windows
- Provided sample code: No
- Provided link: Yes
MMirabito priority commented 1 year ago
After mdb init on licenses package only (not free) I try to run npm install and the authentication will fail to access the repo.
max