Skip to content

Win bundle arduino-cli not found #27

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
smoluks opened this issue Sep 7, 2024 · 8 comments
Closed

Win bundle arduino-cli not found #27

smoluks opened this issue Sep 7, 2024 · 8 comments

Comments

@smoluks
Copy link

smoluks commented Sep 7, 2024

Steps to reproduce:

  1. Install plugin (v0.7.0)
    useArduinoCli set up to true by default
    arduino.path and arduino.commandPath clear by default

  2. See console:
    [Error] Analyzing sketch 'firmware.ino': {"error":{"errno":-4058,"code":"ENOENT","syscall":"spawn c:\Users\Administrator\.vscode\extensions\vscode-arduino.vscode-arduino-community-0.7.0-win32-x64\assets\platform\win32-x64\arduino-cli\arduino-cli.exe","path":"c:\Users\Administrator\.vscode\extensions\vscode-arduino.vscode-arduino-community-0.7.0-win32-x64\assets\platform\win32-x64\arduino-cli\arduino-cli.exe","spawnargs":["compile","-b","esp32:esp32:esp32:JTAGAdapter=default,PSRAM=disabled,PartitionScheme=app3M_fat9M_16MB,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=16M,UploadSpeed=921600,LoopCore=0,EventsCore=0,DebugLevel=info,EraseFlash=none,ZigbeeMode=default","--verbose","--no-color","--build-path","c:\Users\Administrator\Desktop\clock_esp\firmware\build","c:\Users\Administrator\Desktop\clock_esp\firmware\firmware.ino","--additional-urls",""]}}

Win files are missing in the directory, only darwin:
{B802CF1B-24F3-4985-86E4-2BD60B0C7485}

@lersi
Copy link

lersi commented Sep 8, 2024

Okay, managed to narrow down the problem, it was a compilation mistake that included the wrong set of tools, sorry I will fix it ASAP

@lersi
Copy link

lersi commented Sep 8, 2024

Please let me know if this issue persists in release 0.7.1

@smoluks
Copy link
Author

smoluks commented Sep 8, 2024

Yep
{1A379356-E172-46F2-87AF-0CF5779586E3}
{D8836E29-7FAC-4E07-9566-B98566FEC878}

@vicatcu
Copy link

vicatcu commented Sep 9, 2024

Yes, still a problem. Had to re-do the fix when something automatically updated today when I opened VSCode.

@vicatcu
Copy link

vicatcu commented Sep 9, 2024

When I try and open from the command palette: "Arduino: Board Config" I get an error now (v0.7.1):

Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

@lersi
Copy link

lersi commented Sep 10, 2024

Please let me know if this issue persists in version "0.7.2" (dummy version)

@lersi lersi modified the milestone: Stabilizing the repo Sep 10, 2024
@vicatcu
Copy link

vicatcu commented Sep 10, 2024

0.7.2 update didn't cause any trouble. Works as though I had manually patched the previous version.

@lersi
Copy link

lersi commented Sep 11, 2024

This problem was caused by vsce tool, closing this issue as solve
Thanks for the info and the help

@lersi lersi closed this as completed Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants