Library with invalid depends field causes silent failures #534
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
topic: package-management
Related to the packaging and managing of the platform/libraries
type: imperfection
Perceived defect in any part of project
Bug Report
The MD_Parola library version 3.2.0 has a
depends
field in library.properties that contains a misspelled library name (https://github.com/MajicDesigns/MD_Parola/blob/v3.2.0/library.properties#L11). This causesarduino-cli lib deps
andarduino-cli lib install
to fail silently.Current behavior
No dependencies are listed (normally MD_Parola would be listed even if there were no other dependencies defined).
The library is not installed and no error message is displayed.
Expected behavior
Ignore invalid dependency names. Perhaps provide a warning message, but continue executing the command anyway.
Environment
arduino-cli version
): 0.7.0-rc1 Commit: 49897efAdditional context
The Arduino IDE also displays undesirable behavior when installing [email protected]. I did not submit a separate report for that because I thought it might be resolved by fixing the issue in arduino-cli.
The text was updated successfully, but these errors were encountered: