Skip to content

arduino-cli on OSX doesn't create arduino15 folder #8

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

Closed
fabiopozzi opened this issue Aug 25, 2018 · 3 comments
Closed

arduino-cli on OSX doesn't create arduino15 folder #8

fabiopozzi opened this issue Aug 25, 2018 · 3 comments
Labels
conclusion: duplicate Has already been submitted

Comments

@fabiopozzi
Copy link

I have downloaded the arduino-cli binary, installed in /usr/local/bin/.
When I run arduino-cli core update-index for the first time I get

Updating index: package_index.json downloaded
Error: open /Users/fabio/Library/arduino15/package_index.json: no such file or directory
Error saving downloaded index https://downloads.arduino.cc/packages/package_index.json

So I manually create the folder:

mkdir /Users/fabio/Library/arduino15

and the issue is solved.
I don't know if the documentation should indicate to the user to create the directory or the tool should create it.
I am willing to help patch the sources if the tool should create the directory.

@fabiopozzi fabiopozzi changed the title arduino-cli OSX doesn't create arduino15 folder arduino-cli on OSX doesn't create arduino15 folder Aug 25, 2018
@michelepagot
Copy link

michelepagot commented Aug 25, 2018

DuplicaTe of issue 6#

@fabiopozzi
Copy link
Author

I wonder if getDefaultArduinoDataDir() should create the directory if it doesn't exist or it should be created in NewConfiguration().

@sandeepmistry sandeepmistry added the conclusion: duplicate Has already been submitted label Aug 29, 2018
@sandeepmistry
Copy link

Closing as duplicate of #6.

per1234 pushed a commit that referenced this issue Nov 16, 2020
per1234 added a commit that referenced this issue Aug 9, 2021
Add CI workflow to check for commonly misspelled words
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted
Projects
None yet
Development

No branches or pull requests

3 participants