You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
[Starting] Analyzing sketch '03-love-o-meter/03-love-o-meter.ino'
[Warning] Output path is not specified. Unable to reuse previously compiled files. Build will be slower. See README.
[Warning] Failed to generate IntelliSense configuration.
[Error] Analyzing sketch '03-love-o-meter/03-love-o-meter.ino': {"error":{"errno":"ENOENT","code":"ENOENT","syscall":"spawn /usr/local/bin/Contents/MacOS/Arduino","path":"/usr/local/bin/Contents/MacOS/Arduino","spawnargs":["compile","-b","arduino:avr:uno","--verbose","/Users/calebho/work/arduino/starter-kit/03-love-o-meter/03-love-o-meter.ino"]}}
The issue is "syscall":"spawn /usr/local/bin/Contents/MacOS/Arduino" which causes ENOENT.
Was able to workaround by setting commandPath = arduino-cli for now.
Extension version:
Name: Arduino
Id: vsciot-vscode.vscode-arduino
Description: Arduino for Visual Studio Code
Version: 0.4.2
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-arduino
Thanks for the feedback. The recent v0.5.0 release of the extension includes a bundled copy of Arduino CLI that should make it much easier to use the Arduino CLI without setting arduino.commandPath.
This issue has been automatically marked as stale because it has been inactive for 30 days. To reactivate the issue, simply post a comment with the requested information to help us diagnose this issue. If this issue remains inactive for another 7 days, it will be automatically closed.
Seems like #1227 fixes some of the path issues on Mac, but the getter
commandPath
still joins the Arduino app path which defaults to"/Contents/MacOS/Arduino"
if it is empty. This causes IntelliSense to fail which I commented on #1235.The issue is
"syscall":"spawn /usr/local/bin/Contents/MacOS/Arduino"
which causesENOENT
.Was able to workaround by setting
commandPath = arduino-cli
for now.Extension version:
Working relevant configuration:
The text was updated successfully, but these errors were encountered: