IDE hangs on startup: "discovery builtin:serial-discovery not found"

I've been using Arduino IDE 2.1.1 for a couple of weeks now until it suddenly refused to start yesterday, so I reinstalled Arduino IDE 2.1.0. Now it is stuck on the pulsing loading logo when it starts. I am using Windows 10 22H2. Here's a copyo of my log:

2023-08-09 09:52:48 Using browser-only version of superagent in non-browser environment
2023-08-09 09:52:49 Configuration directory URI: 'file:///c%3A/Users/lucas/.theia'
2023-08-09 09:52:49 Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-08-09 09:52:49 2023-08-09T01:52:49.405Z root INFO Backend Object.initialize: 7.2 ms [Finished 17.178 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.405Z root INFO Backend Object.configure: 6.2 ms [Finished 17.178 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.406Z root INFO Backend MessagingContribution.onStart: 2.1 ms [Finished 17.178 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.406Z root INFO Backend OSBackendApplicationContribution.configure: 1.2 ms [Finished 17.522 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.407Z root INFO Backend DefaultWorkspaceServer.onStart: 0.8 ms [Finished 17.522 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.409Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.4 ms [Finished 17.523 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.410Z root WARN Backend PluginLocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 344.6 ms [Finished 17.523 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.410Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.5 ms [Finished 17.523 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.411Z root INFO Backend ElectronTokenBackendContribution.configure: 1.1 ms [Finished 17.524 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.412Z config INFO >>> Initializing CLI configuration...
2023-08-09 09:52:49 2023-08-09T01:52:49.412Z root INFO Backend PluginDeployerContribution.initialize: 0.7 ms [Finished 17.525 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.413Z root INFO Backend ConfigServiceImpl.onStart: 1.0 ms [Finished 17.525 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.414Z config INFO Loading CLI configuration from c:\Users\lucas\.arduinoIDE\arduino-cli.yaml...
2023-08-09 09:52:49 2023-08-09T01:52:49.415Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.7 ms [Finished 17.527 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.415Z root INFO Backend ArduinoDaemonImpl.onStart: 1.6 ms [Finished 17.528 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.415Z root INFO Backend NodeFileUploadService.configure: 2.9 ms [Finished 17.528 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.415Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2023-08-09 09:52:49 2023-08-09T01:52:49.415Z discovery-log INFO start
2023-08-09 09:52:49 2023-08-09T01:52:49.415Z discovery-log INFO start new deferred
2023-08-09 09:52:49 2023-08-09T01:52:49.415Z root INFO Backend HostedPluginLocalizationService.initialize: 0.7 ms [Finished 17.530 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.415Z root INFO Backend BoardDiscovery.onStart: 1.4 ms [Finished 17.530 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.415Z root INFO Backend FileDownloadEndpoint.configure: 1.3 ms [Finished 17.531 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.416Z root INFO Backend AuthenticationServiceImpl.onStart: 0.7 ms [Finished 17.533 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.416Z root INFO Backend PluginApiContribution.configure: 0.6 ms [Finished 17.533 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.428Z root INFO Backend HostedPluginReader.configure: 0.3 ms [Finished 17.534 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.428Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 17.534 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.428Z root INFO Backend PlotterBackendContribution.configure: 12.0 ms [Finished 17.546 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.434Z root INFO Theia app listening on http://localhost:50016.
2023-08-09 09:52:49 2023-08-09T01:52:49.435Z root INFO Finished starting backend application: 19.0 ms [Finished 17.552 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.436Z root WARN The local plugin referenced by local-dir:/c%3A/Users/lucas/.arduinoIDE/plugins does not exist.
2023-08-09 09:52:49 2023-08-09T01:52:49.436Z root WARN The local plugin referenced by local-dir:/c%3A/Users/lucas/.arduinoIDE/extensions does not exist.
2023-08-09 09:52:49 2023-08-09T01:52:49.436Z root WARN The local plugin referenced by local-dir:C:\Users\lucas\.arduinoIDE\plugins does not exist.
2023-08-09 09:52:49 2023-08-09T01:52:49.855Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.8" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.856Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 09:52:49 2023-08-09T01:52:49.857Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
2023-08-09 09:52:49 2023-08-09T01:52:49.864Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":["https://espressif.github.io/arduino-esp32/package_esp32_index.json"]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"builtin":{"libraries":"C:\\Users\\lucas\\AppData\\Local\\Arduino15\\libraries"},"data":"c:\\Users\\lucas\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\lucas\\AppData\\Local\\Arduino15\\staging","user":"c:\\Users\\lucas\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"locale":"en","logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"network":{"proxy":"http://127.0.0.1:64389/","user_agent_ext":"daemon"},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2023-08-09 09:52:49 2023-08-09T01:52:49.864Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-08-09 09:52:49 2023-08-09T01:52:49.864Z config INFO Loaded the CLI configuration.
2023-08-09 09:52:49 2023-08-09T01:52:49.881Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/lucas/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/lucas/Documents/Arduino","additionalUrls":["https://espressif.github.io/arduino-esp32/package_esp32_index.json"],"network":{"protocol":"http","hostname":"127.0.0.1","password":"","username":"","port":"64389"},"locale":"en"}
2023-08-09 09:52:49 2023-08-09T01:52:49.882Z config INFO Validating the CLI configuration...
2023-08-09 09:52:49 2023-08-09T01:52:49.882Z config INFO The CLI config is valid.
2023-08-09 09:52:49 2023-08-09T01:52:49.882Z config INFO <<< Initialized the CLI configuration.
2023-08-09 09:52:49 2023-08-09T01:52:49.897Z root INFO Resolve plugins list: 481.0 ms [Finished 18.012 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.948Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js": 51.0 ms [Finished 18.066 s after backend start]
2023-08-09 09:52:49 2023-08-09T01:52:49.998Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.8" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 49.4 ms [Finished 18.116 s after backend start]
2023-08-09 09:52:50 2023-08-09T01:52:50.101Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension": 103.0 ms [Finished 18.219 s after backend start]
2023-08-09 09:52:50 2023-08-09T01:52:50.146Z daemon INFO e[36mINFOe[0m[0000] Using config file: c:\Users\lucas\.arduinoIDE\arduino-cli.yaml 
e[36mINFOe[0m[0000] arduino-cli.exe version 0.32.3               
e[36mINFOe[0m[0000] Executing `arduino-cli daemon`               
Daemon is now listening on 127.0.0.1:50017
{"IP":"127.0.0.1","Port":"50017"}


2023-08-09 09:52:50 2023-08-09T01:52:50.148Z daemon INFO Daemon is running.
2023-08-09 09:52:50 2023-08-09T01:52:50.213Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension": 112.3 ms [Finished 18.331 s after backend start]
2023-08-09 09:52:50 2023-08-09T01:52:50.224Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 10.3 ms [Finished 18.342 s after backend start]
2023-08-09 09:52:50 2023-08-09T01:52:50.224Z daemon INFO e[36mINFOe[0m[0000] Loading hardware from: c:\Users\lucas\AppData\Local\Arduino15\packages 

2023-08-09 09:52:51 2023-08-09T01:52:51.217Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-bg\extension": 990.9 ms [Finished 19.333 s after backend start]
2023-08-09 09:52:51 2023-08-09T01:52:51.221Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-08-09 09:52:51 2023-08-09T01:52:51.222Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_esp32_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_esp32_index.json: The system cannot find the file specified.
2023-08-09 09:52:51 2023-08-09T01:52:51.223Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2023-08-09 09:52:51 2023-08-09T01:52:51.223Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2023-08-09 09:52:51 2023-08-09T01:52:51.224Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open c:\Users\lucas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-08-09 09:52:51 2023-08-09T01:52:51.231Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client
2023-08-09 09:52:51 2023-08-09T01:52:51.232Z daemon INFO e[36mINFOe[0m[0000] Loading libraries index file                  e[36mindexe[0m="c:\\Users\\lucas\\AppData\\Local\\Arduino15\\library_index.json"
e[36mINFOe[0m[0000] Adding libraries dir                          e[36mdire[0m="C:\\Users\\lucas\\AppData\\Local\\Arduino15\\libraries" e[36mlocatione[0m=ide
e[36mINFOe[0m[0000] Adding libraries dir                          e[36mdire[0m="c:\\Users\\lucas\\Documents\\Arduino\\libraries" e[36mlocatione[0m=user
e[36mINFOe[0m[0001] Updating libraries index                     

2023-08-09 09:52:51 2023-08-09T01:52:51.240Z root INFO core-client-provider [platform-index]
2023-08-09 09:52:51 2023-08-09T01:52:51.241Z root INFO core-client-provider [library-index]
2023-08-09 09:52:51 2023-08-09T01:52:51.249Z daemon INFO e[36mINFOe[0m[0001] Updating index                                e[36murle[0m="https://downloads.arduino.cc/packages/package_index.tar.bz2"
e[36mINFOe[0m[0001] Starting download                             e[36murle[0m="https://downloads.arduino.cc/packages/package_index.tar.bz2"
e[36mINFOe[0m[0001] Starting download                             e[36murle[0m="https://downloads.arduino.cc/libraries/library_index.tar.bz2"

2023-08-09 09:52:52 2023-08-09T01:52:52.193Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-cs\extension": 977.6 ms [Finished 20.311 s after backend start]
2023-08-09 09:52:53 2023-08-09T01:52:53.242Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-de\extension": 1049.5 ms [Finished 21.360 s after backend start]
2023-08-09 09:52:54 2023-08-09T01:52:54.145Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-es\extension": 903.0 ms [Finished 22.263 s after backend start]
2023-08-09 09:52:54 2023-08-09T01:52:54.151Z root ERROR Failed to update platform, library indexes.
2023-08-09 09:52:54 2023-08-09T01:52:54.152Z root INFO core-client-provider [platform-index]
2023-08-09 09:52:54 2023-08-09T01:52:54.153Z daemon INFO e[36mINFOe[0m[0003] Updating index                                e[36murle[0m="https://espressif.github.io/arduino-esp32/package_esp32_index.json"
e[36mINFOe[0m[0003] Starting download                             e[36murle[0m="https://espressif.github.io/arduino-esp32/package_esp32_index.json"

2023-08-09 09:52:55 2023-08-09T01:52:55.129Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-fr\extension": 984.1 ms [Finished 23.248 s after backend start]
2023-08-09 09:52:55 2023-08-09T01:52:55.131Z daemon INFO e[36mINFOe[0m[0004] Loading hardware from: c:\Users\lucas\AppData\Local\Arduino15\packages 
e[36mINFOe[0m[0004] Loading libraries index file                  e[36mindexe[0m="c:\\Users\\lucas\\AppData\\Local\\Arduino15\\library_index.json"
e[36mINFOe[0m[0004] Adding libraries dir                          e[36mdire[0m="C:\\Users\\lucas\\AppData\\Local\\Arduino15\\libraries" e[36mlocatione[0m=ide
e[36mINFOe[0m[0004] Adding libraries dir                          e[36mdire[0m="c:\\Users\\lucas\\Documents\\Arduino\\libraries" e[36mlocatione[0m=user

2023-08-09 09:52:55 2023-08-09T01:52:55.132Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-08-09 09:52:55 2023-08-09T01:52:55.132Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_esp32_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_esp32_index.json: The system cannot find the file specified.
2023-08-09 09:52:55 2023-08-09T01:52:55.132Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2023-08-09 09:52:55 2023-08-09T01:52:55.133Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2023-08-09 09:52:55 2023-08-09T01:52:55.133Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open c:\Users\lucas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-08-09 09:52:55 2023-08-09T01:52:55.134Z root ERROR Uncaught Exception: 
2023-08-09 09:52:55 2023-08-09T01:52:55.134Z 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: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open c:\Users\lucas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at isIndexUpdateRequiredBeforeInit (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:388:11)
    at CoreClientProvider.evaluateErrorStatus (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:200:16)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ClientReadableStreamImpl.<anonymous> (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:184:31)
2023-08-09 09:52:55 2023-08-09T01:52:55.933Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-hu\extension": 803.1 ms [Finished 24.051 s after backend start]
2023-08-09 09:52:56 2023-08-09T01:52:56.829Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-it\extension": 895.5 ms [Finished 24.946 s after backend start]
2023-08-09 09:52:56 2023-08-09T01:52:56.845Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 3636.2 ms [Finished 6.222 s after frontend start]
2023-08-09 09:52:57 2023-08-09T01:52:57.582Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-ja\extension": 753.2 ms [Finished 25.700 s after backend start]
2023-08-09 09:52:57 2023-08-09T01:52:57.588Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 901.8 ms [Finished 7.152 s after frontend start]
2023-08-09 09:52:58 2023-08-09T01:52:58.300Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-ko\extension": 718.5 ms [Finished 26.419 s after backend start]
2023-08-09 09:52:58 2023-08-09T01:52:58.635Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-nl\extension": 334.4 ms [Finished 26.753 s after backend start]
2023-08-09 09:52:59 2023-08-09T01:52:59.433Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-pl\extension": 797.7 ms [Finished 27.551 s after backend start]
2023-08-09 09:53:00 2023-08-09T01:53:00.162Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-pt-BR\extension": 729.3 ms [Finished 28.280 s after backend start]
2023-08-09 09:53:00 2023-08-09T01:53:00.833Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-ru\extension": 670.5 ms [Finished 28.951 s after backend start]
2023-08-09 09:53:01 2023-08-09T01:53:01.504Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-tr\extension": 671.3 ms [Finished 29.622 s after backend start]
2023-08-09 09:53:01 2023-08-09T01:53:01.904Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-uk\extension": 400.6 ms [Finished 30.023 s after backend start]
2023-08-09 09:53:02 2023-08-09T01:53:02.453Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-zh-hans\extension": 547.9 ms [Finished 30.571 s after backend start]
2023-08-09 09:53:02 2023-08-09T01:53:02.453Z root INFO Deploy plugins list: 481.0 ms [Finished 30.571 s after backend start]
2023-08-09 10:00:46 Using browser-only version of superagent in non-browser environment
2023-08-09 10:00:47 Configuration directory URI: 'file:///c%3A/Users/lucas/.theia'
2023-08-09 10:00:47 Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-08-09 10:00:47 2023-08-09T02:00:47.290Z root INFO Backend Object.initialize: 4.2 ms [Finished 11.852 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.290Z root INFO Backend Object.configure: 3.4 ms [Finished 11.852 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.290Z root INFO Backend MessagingContribution.onStart: 1.7 ms [Finished 11.852 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.291Z root INFO Backend OSBackendApplicationContribution.configure: 0.6 ms [Finished 12.086 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.292Z root INFO Backend DefaultWorkspaceServer.onStart: 0.4 ms [Finished 12.086 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.293Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.2 ms [Finished 12.086 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.294Z root WARN Backend PluginLocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 233.9 ms [Finished 12.086 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.294Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.3 ms [Finished 12.086 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.295Z root INFO Backend ElectronTokenBackendContribution.configure: 1.0 ms [Finished 12.087 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.295Z config INFO >>> Initializing CLI configuration...
2023-08-09 10:00:47 2023-08-09T02:00:47.295Z root INFO Backend PluginDeployerContribution.initialize: 0.7 ms [Finished 12.088 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.295Z root INFO Backend ConfigServiceImpl.onStart: 1.2 ms [Finished 12.089 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.296Z config INFO Loading CLI configuration from c:\Users\lucas\.arduinoIDE\arduino-cli.yaml...
2023-08-09 10:00:47 2023-08-09T02:00:47.297Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.4 ms [Finished 12.090 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.297Z root INFO Backend ArduinoDaemonImpl.onStart: 1.0 ms [Finished 12.090 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.297Z root INFO Backend NodeFileUploadService.configure: 1.9 ms [Finished 12.091 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.297Z daemon INFO Starting daemon from D:\Program Files\Arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2023-08-09 10:00:47 2023-08-09T02:00:47.297Z discovery-log INFO start
2023-08-09 10:00:47 2023-08-09T02:00:47.297Z discovery-log INFO start new deferred
2023-08-09 10:00:47 2023-08-09T02:00:47.297Z root INFO Backend HostedPluginLocalizationService.initialize: 0.4 ms [Finished 12.091 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.297Z root INFO Backend BoardDiscovery.onStart: 0.9 ms [Finished 12.092 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.297Z root INFO Backend FileDownloadEndpoint.configure: 0.8 ms [Finished 12.092 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.297Z root INFO Backend AuthenticationServiceImpl.onStart: 0.4 ms [Finished 12.094 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.297Z root INFO Backend PluginApiContribution.configure: 0.3 ms [Finished 12.094 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.307Z root INFO Backend HostedPluginReader.configure: 0.3 ms [Finished 12.094 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.307Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 12.094 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.307Z root INFO Backend PlotterBackendContribution.configure: 9.1 ms [Finished 12.103 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.310Z root INFO Theia app listening on http://localhost:57916.
2023-08-09 10:00:47 2023-08-09T02:00:47.310Z root INFO Finished starting backend application: 12.8 ms [Finished 12.107 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.311Z root WARN The local plugin referenced by local-dir:/c%3A/Users/lucas/.arduinoIDE/plugins does not exist.
2023-08-09 10:00:47 2023-08-09T02:00:47.311Z root WARN The local plugin referenced by local-dir:/c%3A/Users/lucas/.arduinoIDE/extensions does not exist.
2023-08-09 10:00:47 2023-08-09T02:00:47.312Z root WARN The local plugin referenced by local-dir:C:\Users\lucas\.arduinoIDE\plugins does not exist.
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.8" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.484Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:00:47 2023-08-09T02:00:47.485Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
2023-08-09 10:00:47 2023-08-09T02:00:47.490Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":["https://espressif.github.io/arduino-esp32/package_esp32_index.json"]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"builtin":{"libraries":"C:\\Users\\lucas\\AppData\\Local\\Arduino15\\libraries"},"data":"c:\\Users\\lucas\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\lucas\\AppData\\Local\\Arduino15\\staging","user":"c:\\Users\\lucas\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"locale":"en","logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"network":{"proxy":"http://127.0.0.1:64389/","user_agent_ext":"daemon"},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2023-08-09 10:00:47 2023-08-09T02:00:47.490Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-08-09 10:00:47 2023-08-09T02:00:47.490Z config INFO Loaded the CLI configuration.
2023-08-09 10:00:47 2023-08-09T02:00:47.504Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/lucas/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/lucas/Documents/Arduino","additionalUrls":["https://espressif.github.io/arduino-esp32/package_esp32_index.json"],"network":{"protocol":"http","hostname":"127.0.0.1","password":"","username":"","port":"64389"},"locale":"en"}
2023-08-09 10:00:47 2023-08-09T02:00:47.504Z config INFO Validating the CLI configuration...
2023-08-09 10:00:47 2023-08-09T02:00:47.505Z config INFO The CLI config is valid.
2023-08-09 10:00:47 2023-08-09T02:00:47.505Z config INFO <<< Initialized the CLI configuration.
2023-08-09 10:00:47 2023-08-09T02:00:47.518Z root INFO Resolve plugins list: 221.6 ms [Finished 12.314 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.536Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js": 18.3 ms [Finished 12.333 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.553Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.8" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 16.5 ms [Finished 12.349 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.607Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension": 54.0 ms [Finished 12.403 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.626Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension": 19.0 ms [Finished 12.422 s after backend start]
2023-08-09 10:00:47 2023-08-09T02:00:47.626Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 0.6 ms [Finished 12.423 s after backend start]
2023-08-09 10:00:48 2023-08-09T02:00:48.283Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-bg\extension": 656.3 ms [Finished 13.079 s after backend start]
2023-08-09 10:00:48 2023-08-09T02:00:48.303Z daemon INFO e[36mINFOe[0m[0000] Using config file: c:\Users\lucas\.arduinoIDE\arduino-cli.yaml 
e[36mINFOe[0m[0000] arduino-cli.exe version 0.32.2               
e[36mINFOe[0m[0000] Executing `arduino-cli daemon`               
Daemon is now listening on 127.0.0.1:57920
{"IP":"127.0.0.1","Port":"57920"}


2023-08-09 10:00:48 2023-08-09T02:00:48.304Z daemon INFO Daemon is running.
2023-08-09 10:00:48 2023-08-09T02:00:48.863Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-cs\extension": 580.4 ms [Finished 13.660 s after backend start]
2023-08-09 10:00:48 2023-08-09T02:00:48.872Z daemon INFO e[36mINFOe[0m[0000] Loading hardware from: c:\Users\lucas\AppData\Local\Arduino15\packages 
e[36mINFOe[0m[0000] Loading libraries index file                  e[36mindexe[0m="c:\\Users\\lucas\\AppData\\Local\\Arduino15\\library_index.json"
e[36mINFOe[0m[0000] Adding libraries dir                          e[36mdire[0m="C:\\Users\\lucas\\AppData\\Local\\Arduino15\\libraries" e[36mlocatione[0m=ide
e[36mINFOe[0m[0000] Adding libraries dir                          e[36mdire[0m="c:\\Users\\lucas\\Documents\\Arduino\\libraries" e[36mlocatione[0m=user

2023-08-09 10:00:48 2023-08-09T02:00:48.876Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-08-09 10:00:48 2023-08-09T02:00:48.877Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_esp32_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_esp32_index.json: The system cannot find the file specified.
2023-08-09 10:00:48 2023-08-09T02:00:48.877Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2023-08-09 10:00:48 2023-08-09T02:00:48.877Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2023-08-09 10:00:48 2023-08-09T02:00:48.878Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open c:\Users\lucas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-08-09 10:00:48 2023-08-09T02:00:48.880Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client
2023-08-09 10:00:49 2023-08-09T02:00:49.451Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-de\extension": 587.5 ms [Finished 14.247 s after backend start]
2023-08-09 10:00:49 2023-08-09T02:00:49.453Z root INFO core-client-provider [platform-index]
2023-08-09 10:00:49 2023-08-09T02:00:49.453Z root INFO core-client-provider [library-index]
2023-08-09 10:00:49 2023-08-09T02:00:49.455Z daemon INFO e[36mINFOe[0m[0000] Updating index                                e[36murle[0m="https://downloads.arduino.cc/packages/package_index.tar.bz2"
e[36mINFOe[0m[0000] Updating libraries index                     
e[36mINFOe[0m[0000] Starting download                             e[36murle[0m="https://downloads.arduino.cc/packages/package_index.tar.bz2"
e[36mINFOe[0m[0000] Starting download                             e[36murle[0m="https://downloads.arduino.cc/libraries/library_index.tar.bz2"

2023-08-09 10:00:50 2023-08-09T02:00:50.083Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-es\extension": 632.5 ms [Finished 14.880 s after backend start]
2023-08-09 10:00:50 2023-08-09T02:00:50.560Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-fr\extension": 476.3 ms [Finished 15.356 s after backend start]
2023-08-09 10:00:50 2023-08-09T02:00:50.955Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-hu\extension": 395.3 ms [Finished 15.752 s after backend start]
2023-08-09 10:00:50 2023-08-09T02:00:50.993Z root ERROR Failed to update platform, library indexes.
2023-08-09 10:00:50 2023-08-09T02:00:50.994Z root INFO core-client-provider [platform-index]
2023-08-09 10:00:50 2023-08-09T02:00:50.994Z daemon INFO e[36mINFOe[0m[0002] Updating index                                e[36murle[0m="https://espressif.github.io/arduino-esp32/package_esp32_index.json"
e[36mINFOe[0m[0002] Starting download                             e[36murle[0m="https://espressif.github.io/arduino-esp32/package_esp32_index.json"

2023-08-09 10:00:51 2023-08-09T02:00:51.000Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-08-09 10:00:51 2023-08-09T02:00:51.000Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_esp32_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_esp32_index.json: The system cannot find the file specified.
2023-08-09 10:00:51 2023-08-09T02:00:51.001Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2023-08-09 10:00:51 2023-08-09T02:00:51.001Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2023-08-09 10:00:51 2023-08-09T02:00:51.001Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open c:\Users\lucas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-08-09 10:00:51 2023-08-09T02:00:51.003Z root ERROR Uncaught Exception: 
2023-08-09 10:00:51 2023-08-09T02:00:51.003Z 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: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open c:\Users\lucas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at isIndexUpdateRequiredBeforeInit (D:\Program Files\Arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:388:11)
    at CoreClientProvider.evaluateErrorStatus (D:\Program Files\Arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:200:16)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ClientReadableStreamImpl.<anonymous> (D:\Program Files\Arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:184:31)
2023-08-09 10:00:51 2023-08-09T02:00:51.007Z daemon INFO e[36mINFOe[0m[0002] Loading hardware from: c:\Users\lucas\AppData\Local\Arduino15\packages 
e[36mINFOe[0m[0002] Loading libraries index file                  e[36mindexe[0m="c:\\Users\\lucas\\AppData\\Local\\Arduino15\\library_index.json"
e[36mINFOe[0m[0002] Adding libraries dir                          e[36mdire[0m="C:\\Users\\lucas\\AppData\\Local\\Arduino15\\libraries" e[36mlocatione[0m=ide
e[36mINFOe[0m[0002] Adding libraries dir                          e[36mdire[0m="c:\\Users\\lucas\\Documents\\Arduino\\libraries" e[36mlocatione[0m=user

2023-08-09 10:00:51 2023-08-09T02:00:51.489Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-it\extension": 534.3 ms [Finished 16.286 s after backend start]
2023-08-09 10:00:51 2023-08-09T02:00:51.502Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 1393.6 ms [Finished 3.565 s after frontend start]
2023-08-09 10:00:52 2023-08-09T02:00:52.197Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-ja\extension": 707.7 ms [Finished 16.994 s after backend start]
2023-08-09 10:00:52 2023-08-09T02:00:52.201Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 492.7 ms [Finished 4.078 s after frontend start]
2023-08-09 10:00:52 2023-08-09T02:00:52.785Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-ko\extension": 588.2 ms [Finished 17.582 s after backend start]
2023-08-09 10:00:53 2023-08-09T02:00:53.092Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-nl\extension": 306.0 ms [Finished 17.888 s after backend start]
2023-08-09 10:00:53 2023-08-09T02:00:53.768Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-pl\extension": 676.3 ms [Finished 18.565 s after backend start]
2023-08-09 10:00:54 2023-08-09T02:00:54.248Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-pt-BR\extension": 480.2 ms [Finished 19.045 s after backend start]
2023-08-09 10:00:54 2023-08-09T02:00:54.724Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-ru\extension": 475.5 ms [Finished 19.520 s after backend start]
2023-08-09 10:00:55 2023-08-09T02:00:55.217Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-tr\extension": 493.4 ms [Finished 20.014 s after backend start]
2023-08-09 10:00:55 2023-08-09T02:00:55.597Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-uk\extension": 380.0 ms [Finished 20.394 s after backend start]
2023-08-09 10:00:56 2023-08-09T02:00:56.105Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-zh-hans\extension": 497.7 ms [Finished 20.892 s after backend start]
2023-08-09 10:00:56 2023-08-09T02:00:56.105Z root INFO Deploy plugins list: 221.6 ms [Finished 20.902 s after backend start]
2023-08-09 10:03:43 Using browser-only version of superagent in non-browser environment
2023-08-09 10:03:43 Configuration directory URI: 'file:///c%3A/Users/lucas/.theia'
2023-08-09 10:03:44 Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-08-09 10:03:44 2023-08-09T02:03:44.270Z root INFO Backend Object.initialize: 5.5 ms [Finished 13.829 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.270Z root INFO Backend Object.configure: 4.4 ms [Finished 13.829 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.270Z root INFO Backend MessagingContribution.onStart: 2.1 ms [Finished 13.829 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.271Z root INFO Backend OSBackendApplicationContribution.configure: 0.5 ms [Finished 14.083 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.271Z root INFO Backend DefaultWorkspaceServer.onStart: 0.4 ms [Finished 14.083 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.273Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.2 ms [Finished 14.083 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.273Z root WARN Backend PluginLocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 253.5 ms [Finished 14.083 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.274Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.3 ms [Finished 14.083 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.275Z root INFO Backend ElectronTokenBackendContribution.configure: 0.9 ms [Finished 14.084 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.275Z config INFO >>> Initializing CLI configuration...
2023-08-09 10:03:44 2023-08-09T02:03:44.276Z root INFO Backend PluginDeployerContribution.initialize: 0.7 ms [Finished 14.085 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.276Z root INFO Backend ConfigServiceImpl.onStart: 1.0 ms [Finished 14.085 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.278Z config INFO Loading CLI configuration from c:\Users\lucas\.arduinoIDE\arduino-cli.yaml...
2023-08-09 10:03:44 2023-08-09T02:03:44.278Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.5 ms [Finished 14.087 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.279Z root INFO Backend ArduinoDaemonImpl.onStart: 1.2 ms [Finished 14.088 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.279Z root INFO Backend NodeFileUploadService.configure: 2.2 ms [Finished 14.088 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.279Z daemon INFO Starting daemon from D:\Program Files\Arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2023-08-09 10:03:44 2023-08-09T02:03:44.279Z discovery-log INFO start
2023-08-09 10:03:44 2023-08-09T02:03:44.279Z discovery-log INFO start new deferred
2023-08-09 10:03:44 2023-08-09T02:03:44.279Z root INFO Backend HostedPluginLocalizationService.initialize: 0.6 ms [Finished 14.089 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.279Z root INFO Backend BoardDiscovery.onStart: 1.5 ms [Finished 14.090 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.280Z root INFO Backend FileDownloadEndpoint.configure: 1.4 ms [Finished 14.090 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.280Z root INFO Backend AuthenticationServiceImpl.onStart: 0.7 ms [Finished 14.093 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.280Z root INFO Backend PluginApiContribution.configure: 0.7 ms [Finished 14.093 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.302Z root INFO Backend HostedPluginReader.configure: 0.5 ms [Finished 14.094 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.302Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 14.094 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.302Z root INFO Backend PlotterBackendContribution.configure: 21.7 ms [Finished 14.116 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.306Z root INFO Theia app listening on http://localhost:50388.
2023-08-09 10:03:44 2023-08-09T02:03:44.306Z root INFO Finished starting backend application: 26.8 ms [Finished 14.120 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.307Z root WARN The local plugin referenced by local-dir:/c%3A/Users/lucas/.arduinoIDE/plugins does not exist.
2023-08-09 10:03:44 2023-08-09T02:03:44.307Z root WARN The local plugin referenced by local-dir:/c%3A/Users/lucas/.arduinoIDE/extensions does not exist.
2023-08-09 10:03:44 2023-08-09T02:03:44.308Z root WARN The local plugin referenced by local-dir:C:\Users\lucas\.arduinoIDE\plugins does not exist.
2023-08-09 10:03:44 2023-08-09T02:03:44.522Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.522Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.522Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.522Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.8" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.522Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.522Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.522Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.523Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.524Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.525Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.525Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.525Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.525Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.525Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.525Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.525Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-09 10:03:44 2023-08-09T02:03:44.525Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
2023-08-09 10:03:44 2023-08-09T02:03:44.549Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":["https://espressif.github.io/arduino-esp32/package_esp32_index.json"]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"builtin":{"libraries":"C:\\Users\\lucas\\AppData\\Local\\Arduino15\\libraries"},"data":"c:\\Users\\lucas\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\lucas\\AppData\\Local\\Arduino15\\staging","user":"c:\\Users\\lucas\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"locale":"en","logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"network":{"proxy":"http://127.0.0.1:64389/","user_agent_ext":"daemon"},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2023-08-09 10:03:44 2023-08-09T02:03:44.549Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-08-09 10:03:44 2023-08-09T02:03:44.549Z config INFO Loaded the CLI configuration.
2023-08-09 10:03:44 2023-08-09T02:03:44.553Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/lucas/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/lucas/Documents/Arduino","additionalUrls":["https://espressif.github.io/arduino-esp32/package_esp32_index.json"],"network":{"protocol":"http","hostname":"127.0.0.1","password":"","username":"","port":"64389"},"locale":"en"}
2023-08-09 10:03:44 2023-08-09T02:03:44.553Z config INFO Validating the CLI configuration...
2023-08-09 10:03:44 2023-08-09T02:03:44.554Z config INFO The CLI config is valid.
2023-08-09 10:03:44 2023-08-09T02:03:44.554Z config INFO <<< Initialized the CLI configuration.
2023-08-09 10:03:44 2023-08-09T02:03:44.568Z root INFO Resolve plugins list: 290.9 ms [Finished 14.381 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.589Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js": 20.6 ms [Finished 14.402 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.612Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.8" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 22.8 ms [Finished 14.425 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.669Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension": 57.2 ms [Finished 14.483 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.694Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension": 25.2 ms [Finished 14.508 s after backend start]
2023-08-09 10:03:44 2023-08-09T02:03:44.700Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 5.8 ms [Finished 14.514 s after backend start]
2023-08-09 10:03:45 2023-08-09T02:03:45.412Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-bg\extension": 712.4 ms [Finished 15.226 s after backend start]
2023-08-09 10:03:45 2023-08-09T02:03:45.431Z daemon INFO e[36mINFOe[0m[0000] Using config file: c:\Users\lucas\.arduinoIDE\arduino-cli.yaml 
e[36mINFOe[0m[0000] arduino-cli.exe version 0.32.2               
e[36mINFOe[0m[0000] Executing `arduino-cli daemon`               
Daemon is now listening on 127.0.0.1:63042
{"IP":"127.0.0.1","Port":"63042"}


2023-08-09 10:03:45 2023-08-09T02:03:45.431Z daemon INFO Daemon is running.
2023-08-09 10:03:45 2023-08-09T02:03:45.999Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-cs\extension": 586.3 ms [Finished 15.813 s after backend start]
2023-08-09 10:03:46 2023-08-09T02:03:46.008Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-08-09 10:03:46 2023-08-09T02:03:46.008Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\lucas\AppData\Local\Arduino15\package_esp32_index.json: open c:\Users\lucas\AppData\Local\Arduino15\package_esp32_index.json: The system cannot find the file specified.
2023-08-09 10:03:46 2023-08-09T02:03:46.009Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2023-08-09 10:03:46 2023-08-09T02:03:46.009Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2023-08-09 10:03:46 2023-08-09T02:03:46.009Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open c:\Users\lucas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-08-09 10:03:46 2023-08-09T02:03:46.012Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client
2023-08-09 10:03:46 2023-08-09T02:03:46.013Z daemon INFO e[36mINFOe[0m[0000] Loading hardware from: c:\Users\lucas\AppData\Local\Arduino15\packages 
e[36mINFOe[0m[0000] Loading libraries index file                  e[36mindexe[0m="c:\\Users\\lucas\\AppData\\Local\\Arduino15\\library_index.json"
e[36mINFOe[0m[0000] Adding libraries dir                          e[36mdire[0m="C:\\Users\\lucas\\AppData\\Local\\Arduino15\\libraries" e[36mlocatione[0m=ide
e[36mINFOe[0m[0000] Adding libraries dir                          e[36mdire[0m="c:\\Users\\lucas\\Documents\\Arduino\\libraries" e[36mlocatione[0m=user

2023-08-09 10:03:46 2023-08-09T02:03:46.016Z daemon INFO e[36mINFOe[0m[0000] Updating libraries index                     
e[36mINFOe[0m[0000] Updating index                                e[36murle[0m="https://downloads.arduino.cc/packages/package_index.tar.bz2"
e[36mINFOe[0m[0000] Starting download                             e[36murle[0m="https://downloads.arduino.cc/packages/package_index.tar.bz2"
e[36mINFOe[0m[0000] Starting download                             e[36murle[0m="https://downloads.arduino.cc/libraries/library_index.tar.bz2"

2023-08-09 10:03:46 2023-08-09T02:03:46.018Z root INFO core-client-provider [platform-index]
2023-08-09 10:03:46 2023-08-09T02:03:46.018Z root INFO core-client-provider [library-index]
2023-08-09 10:03:46 2023-08-09T02:03:46.624Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-de\extension": 625.7 ms [Finished 16.438 s after backend start]
2023-08-09 10:03:47 2023-08-09T02:03:47.212Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-es\extension": 587.7 ms [Finished 17.026 s after backend start]
2023-08-09 10:03:47 2023-08-09T02:03:47.217Z root INFO core-client-provider [platform-index]
2023-08-09 10:03:47 2023-08-09T02:03:47.217Z daemon INFO e[36mINFOe[0m[0001] Updating index                                e[36murle[0m="https://espressif.github.io/arduino-esp32/package_esp32_index.json"
e[36mINFOe[0m[0001] Starting download                             e[36murle[0m="https://espressif.github.io/arduino-esp32/package_esp32_index.json"

2023-08-09 10:03:47 2023-08-09T02:03:47.748Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-fr\extension": 535.5 ms [Finished 17.562 s after backend start]
2023-08-09 10:03:48 2023-08-09T02:03:48.176Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-hu\extension": 428.1 ms [Finished 17.990 s after backend start]
2023-08-09 10:03:48 2023-08-09T02:03:48.682Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-it\extension": 505.7 ms [Finished 18.496 s after backend start]
2023-08-09 10:03:49 2023-08-09T02:03:49.222Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-ja\extension": 540.4 ms [Finished 19.036 s after backend start]
2023-08-09 10:03:49 2023-08-09T02:03:49.232Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 1971.0 ms [Finished 4.330 s after frontend start]
2023-08-09 10:03:49 2023-08-09T02:03:49.839Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-ko\extension": 616.4 ms [Finished 19.653 s after backend start]
2023-08-09 10:03:49 2023-08-09T02:03:49.844Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 508.4 ms [Finished 4.862 s after frontend start]
2023-08-09 10:03:50 2023-08-09T02:03:50.158Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-nl\extension": 319.7 ms [Finished 19.972 s after backend start]
2023-08-09 10:03:51 2023-08-09T02:03:51.088Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-pl\extension": 929.2 ms [Finished 20.902 s after backend start]
2023-08-09 10:03:51 2023-08-09T02:03:51.872Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-pt-BR\extension": 784.7 ms [Finished 21.686 s after backend start]
2023-08-09 10:03:52 2023-08-09T02:03:52.614Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-ru\extension": 741.3 ms [Finished 22.428 s after backend start]
2023-08-09 10:03:53 2023-08-09T02:03:53.344Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-tr\extension": 729.8 ms [Finished 23.158 s after backend start]
2023-08-09 10:03:53 2023-08-09T02:03:53.828Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-uk\extension": 484.5 ms [Finished 23.642 s after backend start]
2023-08-09 10:03:54 2023-08-09T02:03:54.495Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "D:\Program Files\Arduino\Arduino IDE\resources\app\plugins\vscode-language-pack-zh-hans\extension": 655.0 ms [Finished 24.297 s after backend start]
2023-08-09 10:03:54 2023-08-09T02:03:54.495Z root INFO Deploy plugins list: 290.9 ms [Finished 24.309 s after backend start]
2023-08-09 10:03:56 2023-08-09T02:03:56.129Z daemon INFO e[36mINFOe[0m[0010] Loading hardware from: c:\Users\lucas\AppData\Local\Arduino15\packages 

2023-08-09 10:03:56 2023-08-09T02:03:56.144Z daemon INFO e[36mINFOe[0m[0010] Checking signature                            e[36mindexe[0m="c:\\Users\\lucas\\AppData\\Local\\Arduino15\\package_index.json" e[36msignatureFilee[0m="c:\\Users\\lucas\\AppData\\Local\\Arduino15\\package_index.json.sig" e[36mtrustede[0m=true

2023-08-09 10:03:56 2023-08-09T02:03:56.154Z daemon INFO e[36mINFOe[0m[0010] Checking signature                            e[36merrore[0m="opening signature file: open c:\\Users\\lucas\\AppData\\Local\\Arduino15\\package_esp32_index.json.sig: The system cannot find the file specified." e[36mindexe[0m="c:\\Users\\lucas\\AppData\\Local\\Arduino15\\package_esp32_index.json" e[36msignatureFilee[0m="c:\\Users\\lucas\\AppData\\Local\\Arduino15\\package_esp32_index.json.sig"

2023-08-09 10:03:56 2023-08-09T02:03:56.156Z daemon INFO e[36mINFOe[0m[0010] Starting download                             e[36murle[0m="https://downloads.arduino.cc/discovery/serial-discovery/serial-discovery_v1.4.0_Windows_64bit.zip"


Hi @lukecatt. Arduino IDE has a dependency on some helper tools. On startup, it checks to see if the latest version of those tools are installed, and if they are not it downloads them from the Internet and installs them.

I can see from the logs you shared that some of these tools are not installed:

and that the IDE is attempting to download them from the Internet:

But the logs end there so I'm not sure what happened when it tried to do that.

Is the computer Arduino IDE is running on connected to the Internet? Does your firewall configuration allow Arduino IDE to access the Internet?

Your topic has been moved to the dedicated IDE 2.x section of the forum.