Cannot access GIT behind firewall for MDB dependencies


Topic: Cannot access GIT behind firewall for MDB dependencies

Rothenbaum pro asked 6 years ago

Following the documentation as instructed, https://mdbootstrap.com/docs/angular/getting-started/quick-start/ (Pro version NPM installation).

I am unable to access the GIT file requested because our company firewall restricts access to the certificate.

Is there a method that could work in my `package.json`?

StackOverflow: Question

 

---
**package.json**

"dependencies": {
...
"git+https://oauth2:<access token>@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git"
},

**ERROR for npm install:**

npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://oauth2:<access token>@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git
npm ERR!
npm ERR! fatal: unable to access 'https://oauth2:<access token>@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git/': SSL certificate problem: self signed certificate in certificate chain
npm ERR!
npm ERR! exited with error code: 128


Bartłomiej Malanowski staff pro premium commented 6 years ago

Do you use a proxy on your network?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.3
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: Yes
  • Provided link: Yes
Tags