Topic: Install Method for Project with Gitlab CI/CD & Could not resolve host problem
raphael_tec360 premium asked 1 year ago
I have the following setup and need help with how to ideally install MDB Pro: Angular project, with repository on Gitlab. Certain actions will trigger a docker-build job in the CI/CD Pipeline. This will then build the application from scratch with the required packages. As I installed MDB Pro with npm it will also install MDB Pro in this way.
Unluckily this randomly creates the following error in 20-30 % of the builds
npm ERR! command git --no-replace-objects ls-remote https://oauth2:***@git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential npm ERR! fatal: unable to access 'https://git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential/': Could not resolve host: git.mdbootstrap.com
This is a bit annoying as it blocks the pipeline and I then need to restart the pipeline. Do you have any ideas to overcome this error? Is there a better way of installing MDB so that I'm not dependent on the availability of your git server?
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Premium
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 1.6.1
- Device: Mac, Docker
- Browser: -
- OS: Mac, Docker, GitLab
- Provided sample code: No
- Provided link: No