Build error

Tobias pro premium asked 3 years ago

I have the following in my package.json:

"ng-uikit-pro-standard": "git+https://oauth2:xxxxx@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git#10.1.1"

I can build fine on my local machine. For production I deploy to GCP using Cloud Build and this has also been working fine for quite a while. Recently it have stopped working and I get the following error:

npm ERR! enoent undefined ls-remote -h -t https://oauth2:*@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git

which would mean that the link can not be resolved/found. I am troubleshooting with Google but they are pointing to you guys. Please advice


Tobias pro premium answered 3 years ago

Ok, this issue can be closed. Appearantly I was using a "slim" version of the node image which did not include git. I got it working by changing to a non-slim version.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB4 10.1.1
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: Yes
Tags