Report
4 months, 3 weeks ago.

mbed add gives error "Unable to clone repository"

Hi, I am trying to add/clone a repo to my local laptop...but whenever I run it gives the following lines:

[mbed] Working path "C:\Users\dell\Documents\nrf52832-mdk\examples\mbedos5\mbed-os-example-ble\BLE_SM\libraries" (library)
[mbed] Program path "C:\Users\dell\Documents\nrf52832-mdk\examples\mbedos5\mbed-os-example-ble\BLE_SM"
[mbed] WARNING: Program "BLE_SM" in "C:\Users\dell\Documents\nrf52832-mdk\examples\mbedos5\mbed-os-example-ble\BLE_SM" does not use source control management.
       To fix this you should use "mbed new ." in the root of your program.
---
[mbed] Adding library "Adafruit_GFX" from "https://os.mbed.com/users/justinkim/code/Adafruit_GFX" at latest revision in the current branch
[mbed] ERROR: Unable to clone repository (https://os.mbed.com/users/justinkim/code/Adafruit_GFX/)
---

I am able to load the mbed os from github.

Any ideas are appreciated.

Mark

Comment on this question

1 Answer

4 months, 3 weeks ago.

Mark,

make sure you have both mercurial (hg) and git installed on your machine. The repo's hosted on github use git, the repos hosted on os.mbed.com/* use mercurial by default.


To post an answer, please log in.