Skip to content

Arduino-cli breaks Arduino-ide and Vice Versa #36

Closed
@NormanDunbar

Description

@NormanDunbar

While experimenting with the cli I noticed that when I next open the IDE (Arduino 1.8.5) nothing happens after the splash screen. If I open it again, then the IDE works fine. Sketches upload etc. It's just the first time after using the cli.

However, after using the IDE, the CLI no longer seems to know where the package_index.json is to be found, and it has to be downloaded again. The error is:

$ arduino-cli board list

Error: loading json index file /home/norman/.arduino15/package_index.json: open /home/norman/.arduino15/package_index.json: no such file or directory
Failed to load https://downloads.arduino.cc/packages/package_index.json package index.
Try updating all indexes with `arduino-cli core update-index`.

It also seems to have removed the arduino:avr code as well.

It would be nice to be able to use both the CLI and IDE versions of the software.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions