-
Notifications
You must be signed in to change notification settings - Fork 236
Unable to find "Arduino IDE" when option "arduino-cli" is set to true under Linux #1346
Comments
I have the same problem @legerborea , were you able to fix it or do something ? |
Hello @Galex1223, no I try to set the commandPath to
So I am not sure that setting commandPath value is enough... |
try this "arduino.useArduinoCli": true,
"arduino.path": "/snap/bin/",
"arduino.commandPath":"arduino-cli",
"arduino.additionalUrls": "" |
I am experiencing the same issue. I have tried both settings.json configurations suggested by @legerborea and @pruge. In both cases I receive the error message "Cannot find Arduino IDE. Please specify the 'arduino.path'". I have confirmed the instillation of arduino-cli is working and I am pointing to the correct fie. |
Hey @pruge. sorry for the delay! My arduino-cli installation is not located in /snap/bin, but I pointed to it correctly using the same other setting as you and still has the error messagge refered by @nick-pestell ! Thank you for your update. |
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
/Users/<user id>/bin/arduino-cli version arduino-cli Version: 0.20.2 Commit: 13783819 Date: 2021-12-09T13:32:05Z
"arduino.path": "/Users/<user id>/bin/",
"arduino.commandPath": "arduino-cli",
"arduino.useArduinoCli": true,
"arduino.defaultBaudRate": 9600, |
I was able to get the normal snap arduino working with these paths: #1163 Maybe similar paths work for arduino-cli. |
Thank you @pruge, I seem to have it working now. |
I added #1562 to document this. @legerborea : I guess we can close the issue, right? |
Hello @kopp, I solved message error: "Cannot find Arduino IDE. Please specify the 'arduino.path" with those parameters in extension parameters: "arduino.useArduinoCli": true,
"arduino.path": "/snap/bin/",
"arduino.commandPath": "arduino-cli" But then, I am unable to list boards or upload sketches... So I have dropped snap version of Long story short, issue can be closed 😉 |
Hello, I have an issue under Ubuntu 20.04 when setting "Use Arduino Cli" (I am using this option under Win10 also and this work properly).
First, my
settings.json
:Usage of
arduino-cli
is set to true, the path is also valid but when I try using arduino extension, I get error message "Cannot find Arduino IDE. Please specify the 'arduino.path'".Why extension search for Arduino IDE ? Did I miss something ?
I search for similar isssue (#950) but solution are for Windows OS.
Thank you for your time
EDIT :
This pull request seems to fix the problem : #1297
The text was updated successfully, but these errors were encountered: