root ERROR Uncaught Exception:
root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
at isIndexUpdateRequiredBeforeInit (C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:378:11)
at CoreClientProvider.evaluateErrorStatus (C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:190:16)
at ClientReadableStreamImpl.<anonymous> (C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:175:36)
at ClientReadableStreamImpl.emit (node:events:394:28)
at endReadableNT (node:internal/streams/readable:1331:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Hi @pakozdit. Please post the full output. It is possible there is some information in the part you omitted that will help us to determine the cause of the error.
Arduino IDE 2.0.1
Starting backend process. PID: 11292
Using browser-only version of superagent in non-browser environment
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root INFO Configuration directory URI: 'file:///c%3A/Users/.../.theia'
root INFO Backend Object.initialize: 4.7 ms [Finished 2.345 s after backend start]
root INFO Backend Object.configure: 3.6 ms [Finished 2.345 s after backend start]
root INFO Backend MessagingContribution.onStart: 1.5 ms [Finished 2.345 s after backend start]
root INFO Backend OSBackendApplicationContribution.configure: 0.6 ms [Finished 2.395 s after backend start]
root INFO Backend DefaultWorkspaceServer.onStart: 0.5 ms [Finished 2.395 s after backend start]
root INFO Backend LocalizationBackendContribution.configure: 0.2 ms [Finished 2.395 s after backend start]
root WARN Backend LocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 50.1 ms [Finished 2.396 s after backend start]
root INFO Backend TaskBackendApplicationContribution.onStart: 0.3 ms [Finished 2.396 s after backend start]
root INFO Backend ElectronTokenBackendContribution.configure: 1.6 ms [Finished 2.398 s after backend start]
root INFO Backend PluginDeployerContribution.initialize: 0.5 ms [Finished 2.398 s after backend start]
root INFO Backend ConfigServiceImpl.onStart: 1.0 ms [Finished 2.399 s after backend start]
root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.4 ms [Finished 2.400 s after backend start]
root INFO Backend ArduinoDaemonImpl.onStart: 1.5 ms [Finished 2.401 s after backend start]
root INFO Backend NodeFileUploadService.configure: 2.7 ms [Finished 2.401 s after backend start]
daemon INFO Starting daemon from C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
discovery-log INFO start
discovery-log INFO start new deferred
root INFO Backend BoardDiscovery.onStart: 1.0 ms [Finished 2.403 s after backend start]
root INFO Backend FileDownloadEndpoint.configure: 0.7 ms [Finished 2.403 s after backend start]
root INFO Backend AuthenticationServiceImpl.onStart: 0.4 ms [Finished 2.404 s after backend start]
root INFO Backend PluginApiContribution.configure: 0.6 ms [Finished 2.405 s after backend start]
root INFO Backend HostedPluginReader.configure: 0.5 ms [Finished 2.407 s after backend start]
root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 2.408 s after backend start]
root INFO Backend PlotterBackendContribution.configure: 1.6 ms [Finished 2.410 s after backend start]
root INFO Theia app listening on http://localhost:53025.
root INFO Finished starting backend application: 6.6 ms [Finished 2.414 s after backend start]
root WARN The local plugin referenced by local-dir:/c%3A/Users/.../.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/c%3A/Users/.../.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:C:\Users\...\.arduinoProIDE\plugins does not exist.
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@0.3.10" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.5" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
root INFO Resolve plugins list: 182.4 ms [Finished 2.586 s after backend start]
root INFO Deployed backend plugin "cortex-debug@0.3.10" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension": 5.9 ms [Finished 2.592 s after backend start]
root INFO Deployed backend plugin "vscode-arduino-tools@0.0.2-beta.5" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 13.3 ms [Finished 2.606 s after backend start]
root INFO Deployed backend plugin "cpp@1.52.1" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension": 17.8 ms [Finished 2.623 s after backend start]
root INFO Deployed backend plugin "json@1.46.1" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension": 4.2 ms [Finished 2.628 s after backend start]
root INFO Deployed backend plugin "json-language-features@1.46.1" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 3.2 ms [Finished 2.631 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-bg@1.48.3" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-bg\extension": 136.8 ms [Finished 2.768 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-cs@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-cs\extension": 207.4 ms [Finished 2.975 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-de@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-de\extension": 191.9 ms [Finished 3.167 s after backend start]
daemon INFO INFO[0000] Using config file: c:\Users\...\.arduinoIDE\arduino-cli.yaml
INFO[0000] arduino-cli.exe version 0.28.0
INFO[0000] Executing `arduino-cli daemon`
{"IP":"127.0.0.1","Port":"52917"}
daemon INFO Daemon is running.
root INFO Deployed backend plugin "vscode-language-pack-es@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-es\extension": 226.5 ms [Finished 3.394 s after backend start]
daemon INFO INFO[0000] Loading hardware from: C:\Users\...\AppData\Local\Arduino15\packages
root INFO Deployed backend plugin "vscode-language-pack-fr@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-fr\extension": 133.1 ms [Finished 3.527 s after backend start]
daemon INFO INFO[0000] Loading package esp8266 from: C:\Users\...\AppData\Local\Arduino15\packages\esp8266\hardware
INFO[0000] Adding monitor tool protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform platform="esp8266:esp8266@3.0.2"
INFO[0000] Checking existence of 'tools' path: C:\Users\...\AppData\Local\Arduino15\packages\esp8266\tools
INFO[0000] Loading tools from dir: C:\Users\...\AppData\Local\Arduino15\packages\esp8266\tools
INFO[0000] Loaded tool tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0000] Loaded tool tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0000] Loaded tool tool="esp8266:python3@3.7.2-post1"
INFO[0000] Loaded tool tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"
INFO[0000] Checking signature index="C:\\Users\\...\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\...\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
INFO[0000] Loading tools from dir: C:\Users\...\AppData\Local\Arduino15\packages\builtin\tools
INFO[0000] Adding libraries dir dir="C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\libraries" location=platform
INFO[0000] Loading libraries index file index="C:\\Users\\...\\AppData\\Local\\Arduino15\\library_index.json"
root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:ctags@5.8-arduino11 tool: Get "https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-i686-mingw32.zip": dial tcp [2606:4700::6812:df1]:443: connectex: An attempt was made to access a socket in a way forbidden by its access permissions.
root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-discovery@1.3.2 tool: Get "https://downloads.arduino.cc/discovery/serial-discovery/serial-discovery_v1.3.2_Windows_64bit.zip": dial tcp [2606:4700::6812:df1]:443: connectex: An attempt was made to access a socket in a way forbidden by its access permissions.
root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:mdns-discovery@1.0.6 tool: Get "https://downloads.arduino.cc/discovery/mdns-discovery/mdns-discovery_v1.0.6_Windows_64bit.zip": dial tcp [2606:4700::6812:df1]:443: connectex: An attempt was made to access a socket in a way forbidden by its access permissions.
root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-monitor@0.10.0 tool: Get "https://downloads.arduino.cc/monitor/serial-monitor/serial-monitor_v0.10.0_Windows_64bit.zip": dial tcp [2606:4700::6812:df1]:443: connectex: An attempt was made to access a socket in a way forbidden by its access permissions.
root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: reading directory C:\Users\...\AppData\Local\Arduino15\packages\builtin\tools: open C:\Users\...\AppData\Local\Arduino15\packages\builtin\tools: The system cannot find the path specified.
root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
root INFO Deployed backend plugin "vscode-language-pack-hu@1.48.3" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-hu\extension": 96.0 ms [Finished 3.623 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-it@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-it\extension": 137.5 ms [Finished 3.760 s after backend start]
daemon INFO INFO[0001] Adding libraries dir dir="C:\\Users\\...\\AppData\\Local\\Arduino15\\libraries" location=ide
INFO[0001] Adding libraries dir dir="C:\\Users\\...\\OneDrive - ...\\Eigene Dateien\\Arduino\\libraries" location=user
root INFO Deployed backend plugin "vscode-language-pack-ja@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ja\extension": 133.7 ms [Finished 3.894 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-ko@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ko\extension": 129.4 ms [Finished 4.023 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-nl@1.48.3" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-nl\extension": 61.9 ms [Finished 4.085 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-pl@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pl\extension": 129.9 ms [Finished 4.215 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-pt-BR@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pt-BR\extension": 134.7 ms [Finished 4.350 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-ru@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ru\extension": 142.1 ms [Finished 4.492 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-tr@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-tr\extension": 136.9 ms [Finished 4.629 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-uk@1.48.3" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-uk\extension": 108.2 ms [Finished 4.737 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-zh-hans@1.53.2" from "C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-zh-hans\extension": 158.7 ms [Finished 4.896 s after backend start]
root INFO Deploy plugins list: 182.4 ms [Finished 4.916 s after backend start]
root WARN Frontend s.configure took longer than the expected maximum 100 milliseconds: 356.8 ms [Finished 2.643 s after frontend start]
[2716:1111/151256.867:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
[2716:1111/151256.867:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
root WARN Frontend m.onStart took longer than the expected maximum 100 milliseconds: 115.0 ms [Finished 2.942 s after frontend start]
root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client
daemon INFO INFO[0002] Updating index url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
root INFO core-client-provider [platform-index]
root ERROR Failed to update platform indexes.
daemon INFO INFO[0002] Loading hardware from: C:\Users\...\AppData\Local\Arduino15\packages
daemon INFO INFO[0002] Loading package esp8266 from: C:\Users\...\AppData\Local\Arduino15\packages\esp8266\hardware
daemon INFO INFO[0002] Adding monitor tool protocol=serial tool="builtin:serial-monitor"
INFO[0002] Loaded platform platform="esp8266:esp8266@3.0.2"
daemon INFO INFO[0002] Checking existence of 'tools' path: C:\Users\...\AppData\Local\Arduino15\packages\esp8266\tools
INFO[0002] Loading tools from dir: C:\Users\...\AppData\Local\Arduino15\packages\esp8266\tools
daemon INFO INFO[0002] Loaded tool tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
daemon INFO INFO[0002] Loaded tool tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0002] Loaded tool tool="esp8266:python3@3.7.2-post1"
daemon INFO INFO[0002] Loaded tool tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"
daemon INFO INFO[0002] Checking signature index="C:\\Users\\...\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\...\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:ctags@5.8-arduino11 tool: Get "https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-i686-mingw32.zip": dial tcp [2606:4700::6812:df1]:443: connectex: An attempt was made to access a socket in a way forbidden by its access permissions.
root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-discovery@1.3.2 tool: Get "https://downloads.arduino.cc/discovery/serial-discovery/serial-discovery_v1.3.2_Windows_64bit.zip": dial tcp [2606:4700::6812:df1]:443: connectex: An attempt was made to access a socket in a way forbidden by its access permissions.
root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:mdns-discovery@1.0.6 tool: Get "https://downloads.arduino.cc/discovery/mdns-discovery/mdns-discovery_v1.0.6_Windows_64bit.zip": dial tcp [2606:4700::6812:df1]:443: connectex: An attempt was made to access a socket in a way forbidden by its access permissions.
root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-monitor@0.10.0 tool: Get "https://downloads.arduino.cc/monitor/serial-monitor/serial-monitor_v0.10.0_Windows_64bit.zip": dial tcp [2606:4700::6812:df1]:443: connectex: An attempt was made to access a socket in a way forbidden by its access permissions.
root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: reading directory C:\Users\...\AppData\Local\Arduino15\packages\builtin\tools: open C:\Users\...\AppData\Local\Arduino15\packages\builtin\tools: The system cannot find the path specified.
root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
daemon INFO INFO[0002] Loading tools from dir: C:\Users\...\AppData\Local\Arduino15\packages\builtin\tools
INFO[0002] Adding libraries dir dir="C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\libraries" location=platform
daemon INFO INFO[0002] Loading libraries index file index="C:\\Users\\...\\AppData\\Local\\Arduino15\\library_index.json"
daemon INFO INFO[0003] Adding libraries dir dir="C:\\Users\\...\\AppData\\Local\\Arduino15\\libraries" location=ide
daemon INFO INFO[0003] Adding libraries dir dir="C:\\Users\\...\\OneDrive - ...\\Eigene Dateien\\Arduino\\libraries" location=user
root ERROR Uncaught Exception:
root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
at isIndexUpdateRequiredBeforeInit (C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:378:11)
at CoreClientProvider.evaluateErrorStatus (C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:190:16)
at ClientReadableStreamImpl.<anonymous> (C:\Users\...\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:175:36)
at ClientReadableStreamImpl.emit (node:events:394:28)
at endReadableNT (node:internal/streams/readable:1331:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Check that the install directories have not been made read only.
I had the problem where, after an MS update, certain folders had been made read only for some unknown reason.
My own install looked like it was trying to update and write new files, but failed because of the read only attribute being set. Consequently I had errors not unlike yours with files not there.
Make sure your C:\Users...\AppData\Local\Arduino15\
and sub directories are set to read/write.
Also make sure any project directories are also set the same, given the libraries are stored there too.
Once I had changed the folder attributes Arduino loaded and ran fine.
@latedev:
Thanks for the detailed description, but unfortunately it didn't help me. The development environment still starts dem.
The folders are still write-protected and I can't change this, but the files are writable.
I had a similar problem where my working installation failed after a recent windows 10 update casued it to have high cpu, system lockups and crashes needing full reboots. I uninstalled all traces of it and installed the 2.0.2 nightly build and that cured the problem
I had to change the drive permissions through the security tab, before it would work.
Every time I tried to change it from the properties, it just reverted to read only.