Skip to content

The LS is not compatible with the 0.11.0 CLI #27

Closed
@kittaakos

Description

@kittaakos

Problem:
The LS fails to start with the following error:
82c7c14d-be26-4101-a9c3-12aefd5df4f3

The ino file exists under this location, but the name of the sketch file does not match the name of the container folder name. The CLI throws an error here: https://github.com/arduino/arduino-cli/blob/fff99af81a922eb89c01703373659b5983375093/arduino/builder/sketch.go#L128-L131

Solution: instead of copying the files under path/to/tmp/ino2cpp-${random} we copy to path/to/tmp/ino2cpp-${random}/sketchName where sketchName is extracted from the source.

Metadata

Metadata

Assignees

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