Failed to install library from library manager

I get

>pio lib -g install "mr.naeemabadi@gmail.com/BMA400@^1.2.0"
Library Storage: C:\Users\Max\.platformio\lib
Library Manager: Installing mr.naeemabadi@gmail.com/BMA400 @ ^1.2.0
Error: VCS: Unknown repository type mr.naeemabadi@gmail.com/BMA400

which seems very weird. It seems your username mr.naeemabadi@gmail.com has broken the syntax of author/library@version by having an @ in your username.

@ivankravets to the rescue :smiley:

PS: Also you define

But the docs show that the url ends with a .git in that case

"repository":
{
    "type": "git",
    "url": "https://github.com/foo/bar.git"
}

not sure how relevant that is.

1 Like