Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: unable to access 'https://oauth2:<access-token>@git.mdbootstrap.com/mdb/angular/ng-pro.git/': SSL certificate problem: unable to get local issuer certificate

gkaya pro asked 4 years ago


hello,

in our project, we are using mdbootsrab pro. normally, on package.json, the system is written that:

"ng-mdb-pro": "git+https://oauth2:@git.mdbootstrap.com/mdb/angular/ng-pro.git#5.0.5"

i defined access token on gitlab. after enter npm install, the error is returning below:

npm ERR! Error while executing: npm ERR! C:\Users\mkaplan\AppData\Local\Programs\Git\cmd\git.EXE ls-remote -h -t https://oauth2:@git.mdbootstrap.com/mdb/angular/ng-pro.git npm ERR! npm ERR! fatal: unable to access 'https://oauth2:@git.mdbootstrap.com/mdb/angular/ng-pro.git/': SSL certificate problem: unable to get local issuer certificate npm ERR! npm ERR! exited with error code: 128

nowadays, i can not pull and install mdbootsrap pro version. Please Could you help me?

Thanks & Best Regards


Konrad Stępień staff commented 4 years ago

Hey @gkaya,

Could make me to sure you have updated git, node, npm

please type: npm -v, node -v, git --version in the console and tell me what versions you have.


gkaya pro commented 4 years ago

hello,

my version is like below:

Npm -v 6.14.4 Node -v v13.13.0 Git version 2.16.1.windows.2

Thanks


Konrad Stępień staff commented 4 years ago

Could you try to install 5.2.3 version?

Did you provide a token for your installation code?

Like this:

 npm install git+https://oauth2:your-auth-token@git.mdbootstrap.com/mdb/angular/ng-pro.git#5.0.5

gkaya pro commented 4 years ago

hello,

i put git+https://oauth2:@git.mdbootstrap.com/mdb/angular/ng-pro.git#5.2.3 on package.json. i did npm install. but i got same like above error.

what you mean a token for your installation code? i logged in https://git.mdbootstrap.com/ and then, i got personal access token on https://git.mdbootstrap.com/profile/personal_access_tokens page. i produced one access token. is the auth token you meant personal access token?

thanks


Konrad Stępień staff commented 4 years ago

I meant token from this page https://git.mdbootstrap.com/profile/personal_access_tokens I wanted to make sure it was generated correctly.

I provide the issue for the our technical team and we will see where is the problem and how to fix it.


gkaya pro commented 4 years ago

hello Konrad, have you contacted to your technical team about my problem? Is there any news?

Thanks


elemech premium answered 4 years ago


@Konrad Stępień Thank you. I did not have git correctly set in my PATH, so git --version was giving me an error. Once I fixed that, the installation worked.


willyeruiz free commented 4 years ago

hi Konrad. I am try to execute the instruction but not happend nothing: sh-3.2# npm install git+https://oauth2:*****@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git --save ⸨░░░░░░░░░░░░░░░░░░⸩ ⠧ rollbackFailedOptional: verb npm-session e43a4c5aaab4c8ed. Please help me


Konrad Stępień staff commented 4 years ago

Hi @willyeruiz, can you provide more information from console?



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: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 5.0.5
  • Device: desktop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: Yes