-
-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-generated __MACOSX
folder in tool archive causes core install
to fail: "Cannot install platform: searching package root dir: no unique root dir in archive
#1790
Comments
This caused by the
Note that there are two folders in the root of the platform archive ZIP file. Like this:
Arduino CLI allows only a single root folder, which contains the platform:
This The same issue previously occurred when installing libraries via Arduino IDE 1.x allows this extra So I think it would be worth adding support to Arduino CLI for this platform archive structure. If not, the package index specification could be made to more clearly describe the required archive structure: Related |
__MACOSX
folder in tool archive causes core install
to fail: "Cannot install platform: searching package root dir: no unique root dir in archive
We may add the exception for |
Describe the problem
I could not install
heltec-esp8266:esp8266
with IDE2. It's probably a CLI issue but let's make sure.To reproduce
I have the following URLs
Install the platform from the IDE2.
Expected behavior
The archives produced by the macOS built-in archive utility can be used in Arduino boards packages.
Arduino IDE version
HEAD
Operating system
macOS
Operating system version
12.3.1
Additional context
Error log:
I have installed another
heltec
platform.Related
chipKIT:pic32
platform fails: "no unique root dir in archive
" #2131core install
fails when a core archive doesn't have a single base folder #325Issue checklist
The text was updated successfully, but these errors were encountered: