I've read thru all of the forum topics I could find on this and tried everything I see, but I can not get the IDE to come up. It's stuck on the pulsing icon. No menu items, etc. I have tried the following:
I uninstalled and re-installed multiple times
I exited OneDrive, uninstalled, and re-installed, but when I look at the settings I wasn't using OneDrive install anyway
I checked that arduino-cli.yaml is correct. My arduino-cli.yaml has my user as C:\Users\Xxxxxx\Documents\Arduino
My registry is correct:
Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders setting is %USERPROFILE%\Documents
My C:\Users\Xxxxxx\Documents\Arduino does not have anything in it. I manually added a libraries folder
When I run the PowerShell I see an error as follows:
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\Xxxxxx\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
at isIndexUpdateRequiredBeforeInit (C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:388:11)
at CoreClientProvider.evaluateErrorStatus (C:\Users\Xxxxxx\AppData\Local\Programs\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:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:184:31)
Hi @costeen. On the first run after a fresh installation, Arduino IDE downloads some additional essential components from the Internet and installs them. If it can't install those components then the startup fails. So the computer must have access to the Internet on the first startup.
The error you shared indicate Arduino IDE might not have been able to access the Internet to download this library_index.json file.
If it is not already, please connect your computer to the Internet, close the Arduino IDE window, then start Arduino IDE again. This time it should start up successfully.
After that first run, an Internet connection is not required. However, there are some supplemental features such as "Library Manager" that have an inherent dependency on the Internet. Those features will not be usable while your computer is offline. But the essential functionality of editing, compiling, and uploading sketches will be available even without an Internet connection.
I'm connected to the internet. That's how I'm able to post this message. My company's firewall(s) and network restrictions might be preventing some of this.
I'm going to ask you to post the full output produced by running Arduino IDE from the PowerShell terminal in case the additional information might help us to identify the problem.
I'll provide the instructions for doing that in case they might be useful:
Close all Arduino IDE windows if the IDE is already running.
Open the Arduino IDE installation folder. ⓘ The default installation location is at one of the following paths:
C:\Program Files\Arduino IDE
C:\Users\<username>\AppData\Local\Programs\Arduino IDE
(where <username> is your Windows username)
In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
From the context menu, click "Open PowerShell window here".
Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder.
Type the following command:
& ".\Arduino IDE"
Press the Enter key.
Debug output should now be printed to the PowerShell window as Arduino IDE starts.
Wait until you are sure the IDE startup has gone into the hang state
(as indicated by no additional output being printed to the terminal).
Switch back to the PowerShell window if the Arduino IDE window took the focus.
Right click on the title bar of the PowerShell window.
This will open a context menu.
Select Edit > Select All from the context menu.
This will select all the text in the PowerShell window.
Press Ctrl+C.
This will copy the contents of the PowerShell window to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the Reply button to post the output.
Please let me know if you have any questions or problems while following those instructions.
Yes, but it is somewhat complex and some features of Arduino IDE will still not be available without an Internet connection even if you get the basic functionality with the manual setup. So let's first see if it might be possible to solve the fundamental problem before resorting to workarounds.
PS C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE> Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders[5624:0623/101615.693:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is disabled, ANGLE is end process. PID: 14688
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Xxxxxx/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-06-23T14:14:31.925Z root INFO Backend Object.initialize: 6.0 ms [Finished 17.003 s after backend start]
2023-06-23T14:14:31.925Z root INFO Backend Object.configure: 4.7 ms [Finished 17.003 s after backend start]
2023-06-23T14:14:31.926Z root INFO Backend MessagingContribution.onStart: 2.1 ms [Finished 17.003 s after backend start]
2023-06-23T14:14:31.927Z root INFO Backend OSBackendApplicationContribution.configure: 0.4 ms [Finished 17.291 s after backend start]
2023-06-23T14:14:31.927Z root INFO Backend DefaultWorkspaceServer.onStart: 0.3 ms [Finished 17.291 s after backend start]
2023-06-23T14:14:31.928Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 17.291 s after backend start]
2023-06-23T14:14:31.929Z root WARN Backend PluginLocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 287.3 ms [Finished 17.291 s after backend start]
2023-06-23T14:14:31.929Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.3 ms [Finished 17.291 s after backend start]
2023-06-23T14:14:31.930Z root INFO Backend ElectronTokenBackendContribution.configure: 1.6 ms [Finished 17.293 s after backend start]
2023-06-23T14:14:31.931Z config INFO >>> Initializing CLI configuration...
2023-06-23T14:14:31.931Z root INFO Backend PluginDeployerContribution.initialize: 0.5 ms [Finished 17.293 s after backend start]
2023-06-23T14:14:31.931Z root INFO Backend ConfigServiceImpl.onStart: 0.9 ms [Finished 17.294 s after backend start]
2023-06-23T14:14:31.932Z config INFO Loading CLI configuration from c:\Users\Xxxxxx\.arduinoIDE\arduino-cli.yaml...
2023-06-23T14:14:31.933Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.4 ms [Finished 17.295 s after backend start]
2023-06-23T14:14:31.933Z root INFO Backend ArduinoDaemonImpl.onStart: 1.1 ms [Finished 17.296 s after backend start]
2023-06-23T14:14:31.933Z root INFO Backend NodeFileUploadService.configure: 2.1 ms [Finished 17.296 s after backend start]
2023-06-23T14:14:31.933Z daemon INFO Starting daemon from C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2023-06-23T14:14:31.934Z discovery-log INFO start
2023-06-23T14:14:31.934Z discovery-log INFO start new deferred
2023-06-23T14:14:31.934Z root INFO Backend HostedPluginLocalizationService.initialize: 0.5 ms [Finished 17.297 s after backend start]
2023-06-23T14:14:31.934Z root INFO Backend BoardDiscovery.onStart: 1.3 ms [Finished 17.298 s after backend start]
2023-06-23T14:14:31.934Z root INFO Backend FileDownloadEndpoint.configure: 1.0 ms [Finished 17.298 s after backend start]
2023-06-23T14:14:31.934Z root INFO Backend AuthenticationServiceImpl.onStart: 0.4 ms [Finished 17.300 s after backend start]
2023-06-23T14:14:31.934Z root INFO Backend PluginApiContribution.configure: 0.5 ms [Finished 17.300 s after backend start]
2023-06-23T14:14:31.943Z root INFO Backend HostedPluginReader.configure: 0.3 ms [Finished 17.301 s after backend start]
2023-06-23T14:14:31.944Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 17.301 s after backend start]
2023-06-23T14:14:31.944Z root INFO Backend PlotterBackendContribution.configure: 9.0 ms [Finished 17.310 s after backend start]
2023-06-23T14:14:31.948Z root INFO Theia app listening on http://localhost:54861.
2023-06-23T14:14:31.952Z root INFO Finished starting backend application: 14.2 ms [Finished 17.314 s after backend start]
2023-06-23T14:14:31.972Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Xxxxxx/.arduinoIDE/plugins does not exist.
2023-06-23T14:14:31.972Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Xxxxxx/.arduinoIDE/extensions does not exist.
2023-06-23T14:14:31.973Z root WARN The local plugin referenced by local-dir:C:\Users\Xxxxxx\.arduinoIDE\plugins does not exist.
2023-06-23T14:14:32.241Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.242Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-06-23T14:14:32.243Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.246Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.8" with engines:
2023-06-23T14:14:32.246Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.247Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-06-23T14:14:32.247Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.248Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-06-23T14:14:32.248Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.249Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-06-23T14:14:32.249Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.250Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-06-23T14:14:32.256Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.257Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-06-23T14:14:32.258Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.262Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-06-23T14:14:32.263Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.263Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-06-23T14:14:32.264Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.264Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-06-23T14:14:32.265Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.266Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-06-23T14:14:32.266Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.267Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-06-23T14:14:32.273Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.277Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-06-23T14:14:32.279Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.280Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-06-23T14:14:32.280Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.281Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-06-23T14:14:32.282Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.283Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-06-23T14:14:32.283Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.291Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
2023-06-23T14:14:32.302Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.303Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-06-23T14:14:32.307Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.307Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-06-23T14:14:32.308Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.309Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-06-23T14:14:32.310Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-06-23T14:14:32.310Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
2023-06-23T14:14:32.364Z daemon INFO INFO[0000] Using config file: c:\Users\Xxxxxx\.arduinoIDE\arduino-cli.yaml
INFO[0000] arduino-cli.exe version 0.32.2
INFO[0000] Executing `arduino-cli daemon`
Daemon is now listening on 127.0.0.1:62640
{"IP":"127.0.0.1","Port":"62640"}
2023-06-23T14:14:32.365Z daemon INFO Daemon is running.
2023-06-23T14:14:32.376Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\Xxxxxx\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\Xxxxxx\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\Xxxxxx\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2023-06-23T14:14:32.376Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-06-23T14:14:32.378Z config INFO Loaded the CLI configuration.
2023-06-23T14:14:32.402Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/Xxxxxx/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/Xxxxxx/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-06-23T14:14:32.403Z config INFO Validating the CLI configuration...
2023-06-23T14:14:32.420Z config INFO The CLI config is valid.
2023-06-23T14:14:32.420Z config INFO <<< Initialized the CLI configuration.
2023-06-23T14:14:32.432Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\Xxxxxx\AppData\Local\Arduino15\package_index.json: open C:\Users\Xxxxxx\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-06-23T14:14:32.433Z daemon INFO INFO[0000] Loading hardware from: C:\Users\Xxxxxx\AppData\Local\Arduino15\packages
INFO[0000] Loading libraries index file index="C:\\Users\\Xxxxxx\\AppData\\Local\\Arduino15\\library_index.json"
INFO[0000] Adding libraries dir dir="C:\\Users\\Xxxxxx\\AppData\\Local\\Arduino15\\libraries" location=ide
INFO[0000] Adding libraries dir dir="C:\\Users\\Xxxxxx\\Documents\\Arduino\\libraries" location=user
2023-06-23T14:14:32.437Z 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-06-23T14:14:32.438Z 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-06-23T14:14:32.442Z 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\Xxxxxx\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-06-23T14:14:32.446Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client
2023-06-23T14:14:32.448Z daemon INFO INFO[0000] Updating libraries index
INFO[0000] Updating index url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2023-06-23T14:14:32.451Z daemon INFO INFO[0000] Starting download url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2023-06-23T14:14:32.454Z root INFO core-client-provider [platform-index]
2023-06-23T14:14:32.456Z root INFO core-client-provider [library-index]
2023-06-23T14:14:32.456Z daemon INFO INFO[0000] Starting download url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-06-23T14:14:32.471Z root INFO Resolve plugins list: 539.0 ms [Finished 17.837 s after backend start]
2023-06-23T14:14:32.498Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js": 26.6 ms [Finished 17.864 s after backend start]
2023-06-23T14:14:32.527Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.8" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 29.1 ms [Finished 17.894 s after backend start]
2023-06-23T14:14:32.606Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension": 78.7 ms [Finished 17.973 s after backend start]
2023-06-23T14:14:32.646Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension": 40.1 ms [Finished 18.013 s after backend start]
2023-06-23T14:14:32.647Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 1.0 ms [Finished 18.014 s after backend start]
2023-06-23T14:14:33.624Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-bg\extension": 976.4 ms [Finished 18.990 s after backend start]
Opening channel for service path '/services/electron-window-ext'.
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2023-06-23T14:14:34.657Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-cs\extension": 1033.7 ms [Finished 20.024 s after backend start]
2023-06-23T14:14:35.759Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-de\extension": 1101.4 ms [Finished 21.126 s after backend start]
2023-06-23T14:14:36.841Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-es\extension": 1082.2 ms [Finished 22.208 s after backend start]
2023-06-23T14:14:37.934Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-fr\extension": 1092.9 ms [Finished 23.301 s after backend start]
2023-06-23T14:14:38.825Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-hu\extension": 890.7 ms [Finished 24.192 s after backend start]
2023-06-23T14:14:38.841Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 3545.7 ms [Finished 5.881 s after frontend start]
2023-06-23T14:14:39.987Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-it\extension": 1162.1 ms [Finished 25.354 s after backend start]
2023-06-23T14:14:39.995Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 863.8 ms [Finished 6.773 s after frontend start]
2023-06-23T14:14:40.994Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ja\extension": 1006.8 ms [Finished 26.361 s after backend start]
2023-06-23T14:14:42.051Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ko\extension": 1057.0 ms [Finished 27.418 s after backend start]
2023-06-23T14:14:42.681Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-nl\extension": 629.6 ms [Finished 28.048 s after backend start]
2023-06-23T14:14:43.932Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pl\extension": 1250.5 ms [Finished 29.298 s after backend start]
2023-06-23T14:14:44.895Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pt-BR\extension": 963.4 ms [Finished 30.262 s after backend start]
2023-06-23T14:14:45.807Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ru\extension": 911.7 ms [Finished 31.173 s after backend start]
2023-06-23T14:14:46.808Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-tr\extension": 1001.7 ms [Finished 32.175 s after backend start]
2023-06-23T14:14:47.567Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-uk\extension": 758.9 ms [Finished 32.934 s after backend start]
2023-06-23T14:14:48.573Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-zh-hans\extension": 997.3 ms [Finished 33.931 s after backend start]
2023-06-23T14:14:48.573Z root INFO Deploy plugins list: 539.0 ms [Finished 33.940 s after backend start]
2023-06-23T14:15:14.726Z root ERROR Failed to update platform, library indexes.
2023-06-23T14:15:14.735Z daemon INFO INFO[0042] Loading hardware from: C:\Users\Xxxxxx\AppData\Local\Arduino15\packages
2023-06-23T14:15:14.738Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\Xxxxxx\AppData\Local\Arduino15\package_index.json: open C:\Users\Xxxxxx\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-06-23T14:15:14.739Z 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-06-23T14:15:14.739Z 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-06-23T14:15:14.740Z 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\Xxxxxx\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-06-23T14:15:14.740Z daemon INFO INFO[0042] Loading libraries index file index="C:\\Users\\Xxxxxx\\AppData\\Local\\Arduino15\\library_index.json"
INFO[0042] Adding libraries dir dir="C:\\Users\\Xxxxxx\\AppData\\Local\\Arduino15\\libraries" location=ide
INFO[0042] Adding libraries dir dir="C:\\Users\\Xxxxxx\\Documents\\Arduino\\libraries" location=user
2023-06-23T14:15:14.742Z root ERROR Uncaught Exception:
2023-06-23T14:15:14.742Z 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\Xxxxxx\AppData\Local\Arduino15\package_index.json: open C:\Users\Xxxxxx\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\Xxxxxx\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
at isIndexUpdateRequiredBeforeInit (C:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:388:11)
at CoreClientProvider.evaluateErrorStatus (C:\Users\Xxxxxx\AppData\Local\Programs\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:\Users\Xxxxxx\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:184:31)
The information from the full logs doesn't give me any more information about the problem.
I will try to compose some instructions for the manual installation but I have a large number of support requests to accommodate in addition to my many other work duties in other areas of Arduino so I can't make any promises about when or if I will be able to do that. Maybe one of the other forum members will be able to provide more prompt assistance.
Alternatively you can use Arduino IDE 1.8.19. The download links are listed here: