2.3.6 hangs on loading

PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
PS C:\Program Files\Arduino IDE>
Arduino IDE 2.3.6
Checking for frontend application configuration customizations. Module path: C:\Program Files\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Program Files\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.6" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.2.0" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2025-04-09T11:26:55.498Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{},"showWindowEarly":true,"splashScreenOptions":{},"uriScheme":"arduino-ide"},"defaultLocale":"","validatePreferencesSchema":false,"reloadOnReconnect":true,"uriScheme":"theia","preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.6","cliVersion":"1.2.0","buildDate":"2025-04-09T11:26:55.498Z"}
Starting backend process. PID: 8680
Showing main window early
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Thomas/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2025-11-18T14:30:50.891Z root INFO Backend u.initialize: 13.3 ms [Finished 0.266 s after backend start]
2025-11-18T14:30:50.892Z root INFO Backend Object.initialize: 12.5 ms [Finished 0.266 s after backend start]
2025-11-18T14:30:50.892Z root INFO Backend a.initialize: 0.8 ms [Finished 0.266 s after backend start]
2025-11-18T14:30:50.892Z root INFO Backend a.initialize: 0.6 ms [Finished 0.266 s after backend start]
2025-11-18T14:30:50.892Z root INFO Backend u.initialize: 0.8 ms [Finished 0.267 s after backend start]
2025-11-18T14:30:50.893Z root INFO Backend l.initialize: 13.2 ms [Finished 0.267 s after backend start]
2025-11-18T14:30:50.896Z root INFO configured all backend app contributions
2025-11-18T14:30:50.896Z root INFO Backend l.onStart: 0.6 ms [Finished 0.272 s after backend start]
2025-11-18T14:30:50.896Z root INFO Backend d.onStart: 0.0 ms [Finished 0.272 s after backend start]
2025-11-18T14:30:50.897Z root INFO Backend a.onStart: 0.1 ms [Finished 0.272 s after backend start]
2025-11-18T14:30:50.897Z config INFO >>> Initializing CLI configuration...
2025-11-18T14:30:50.897Z root INFO Backend x.onStart: 0.1 ms [Finished 0.272 s after backend start]
2025-11-18T14:30:50.897Z config INFO Loading CLI configuration from c:\Users\Thomas\.arduinoIDE\arduino-cli.yaml...
2025-11-18T14:30:50.897Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2025-11-18T14:30:50.897Z root INFO Backend w.onStart: 0.1 ms [Finished 0.272 s after backend start]
2025-11-18T14:30:50.897Z discovery-log INFO start
2025-11-18T14:30:50.897Z discovery-log INFO start new deferred
2025-11-18T14:30:50.897Z root INFO Backend v.onStart: 0.1 ms [Finished 0.273 s after backend start]
2025-11-18T14:30:50.897Z root INFO Backend a.onStart: 0.0 ms [Finished 0.273 s after backend start]
2025-11-18T14:30:50.899Z root INFO Theia app listening on http://127.0.0.1:50218.
2025-11-18T14:30:50.899Z root INFO Finished starting backend application: 1.9 ms [Finished 0.275 s after backend start]
2025-11-18T14:30:50.902Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Thomas/.arduinoIDE/plugins does not exist.
2025-11-18T14:30:50.902Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Thomas/.arduinoIDE/deployedPlugins does not exist.
2025-11-18T14:30:50.902Z root WARN The local plugin referenced by local-dir:C:\Users\Thomas\.arduinoIDE\plugins does not exist.
2025-11-18T14:30:50.906Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]}}
2025-11-18T14:30:50.906Z config INFO Loading fallback CLI configuration to get 'directories.data' and 'directories.user'
2025-11-18T14:30:50.919Z root INFO Resolve plugins list: 21.4 ms [Finished 0.295 s after backend start]
2025-11-18T14:30:50.954Z daemon INFO time="2025-11-18T15:30:50+01:00" level=info msg="arduino-cli version 1.2.0"
time="2025-11-18T15:30:50+01:00" level=info msg="Using config file: c:\\Users\\Thomas\\.arduinoIDE\\arduino-cli.yaml"
time="2025-11-18T15:30:50+01:00" level=info msg="Executing `arduino-cli daemon`"
Daemon überwacht jetzt 127.0.0.1: 50219
{"IP":"127.0.0.1","Port":"50219"}
2025-11-18T14:30:50.954Z daemon INFO Daemon is running.
2025-11-18T14:30:50.955Z config INFO Loaded fallback CLI configuration: {"directories":{"user":"C:\\Users\\Thomas\\Documents\\Arduino","data":"C:\\Users\\Thomas\\AppData\\Local\\Arduino15"}}
2025-11-18T14:30:50.955Z config INFO Merged CLI configuration with the fallback: {"directories":{"user":"C:\\Users\\Thomas\\Documents\\Arduino","data":"C:\\Users\\Thomas\\AppData\\Local\\Arduino15"},"board_manager":{"additional_urls":[]}}
2025-11-18T14:30:50.955Z config INFO Loaded the CLI configuration.
2025-11-18T14:30:50.958Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/Thomas/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/Thomas/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2025-11-18T14:30:50.958Z config INFO Validating the CLI configuration...
2025-11-18T14:30:50.960Z config INFO The CLI config is valid.
2025-11-18T14:30:50.960Z config INFO <<< Initialized the CLI configuration.
2025-11-18T14:30:50.964Z daemon INFO time="2025-11-18T15:30:50+01:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2025-11-18T14:30:50.966Z daemon INFO time="2025-11-18T15:30:50+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2025-11-18T14:30:51.026Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Einige Indizes konnten nicht aktualisiert werden.
2025-11-18T14:30:51.026Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Indexdatei wird geladen: json-Indexdatei laden C:\Users\Thomas\AppData\Local\Arduino15\package_index.json: open C:\Users\Thomas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2025-11-18T14:30:51.026Z daemon INFO time="2025-11-18T15:30:51+01:00" level=info msg="Loading hardware from: C:\\Users\\Thomas\\AppData\\Local\\Arduino15\\packages"
time="2025-11-18T15:30:51+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\Thomas\\AppData\\Local\\Arduino15\\library_index.json"
2025-11-18T14:30:51.026Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Fehler beim Laden der Hardware-Plattform: Discovery builtin:serial-discoverywurde nicht gefunden
2025-11-18T14:30:51.026Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Fehler beim Laden der Hardware-Plattform: Discovery builtin:mdns-discoverywurde nicht gefunden
2025-11-18T14:30:51.085Z root INFO Deploy plugins list: 188.2 ms [Finished 0.461 s after backend start]
2025-11-18T14:30:51.129Z daemon INFO time="2025-11-18T15:30:51+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Thomas\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
2025-11-18T14:30:51.129Z daemon INFO time="2025-11-18T15:30:51+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Thomas\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user
2025-11-18T14:30:51.130Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client 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: Indexdatei wird geladen: json-Indexdatei laden C:\Users\Thomas\AppData\Local\Arduino15\package_index.json: open C:\Users\Thomas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.

2025-11-18T14:30:51.130Z daemon INFO time="2025-11-18T15:30:51+01:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2025-11-18T14:30:51.131Z daemon INFO time="2025-11-18T15:30:51+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2025-11-18T14:30:51.131Z root INFO core-client-provider [platform-index] Index wird heruntergeladen: package_index.tar.bz2

2025-11-18T14:30:51.177Z root ERROR Failed to update platform indexes. Error: 13 INTERNAL: Einige Indizes konnten nicht aktualisiert werden.
    at t.callErrorFromStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:3089094)
    at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:6681994)
    at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:2571739)
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:4307911
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at s.makeServerStreamRequest (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:6681761)
    at s.updateIndex (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:3088187)
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:6284829
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:6285177
    at new Promise (<anonymous>)
    at y.doUpdateIndex (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:6285156)
    at y.updatePlatformIndex (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:6284801)
    at y.updateIndex (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:6284169)
    at y.initInstanceWithFallback (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:6282462)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-11-18T14:30:51.177Z daemon INFO time="2025-11-18T15:30:51+01:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2025-11-18T14:30:51.178Z daemon INFO time="2025-11-18T15:30:51+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2025-11-18T14:30:51.221Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Einige Indizes konnten nicht aktualisiert werden.
2025-11-18T14:30:51.221Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Indexdatei wird geladen: json-Indexdatei laden C:\Users\Thomas\AppData\Local\Arduino15\package_index.json: open C:\Users\Thomas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2025-11-18T14:30:51.221Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Fehler beim Laden der Hardware-Plattform: Discovery builtin:serial-discoverywurde nicht gefunden
2025-11-18T14:30:51.221Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Fehler beim Laden der Hardware-Plattform: Discovery builtin:mdns-discoverywurde nicht gefunden
2025-11-18T14:30:51.221Z daemon INFO time="2025-11-18T15:30:51+01:00" level=info msg="Loading hardware from: C:\\Users\\Thomas\\AppData\\Local\\Arduino15\\packages"
time="2025-11-18T15:30:51+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\Thomas\\AppData\\Local\\Arduino15\\library_index.json"
2025-11-18T14:30:51.321Z daemon INFO time="2025-11-18T15:30:51+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Thomas\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
2025-11-18T14:30:51.321Z daemon INFO time="2025-11-18T15:30:51+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Thomas\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user
2025-11-18T14:30:51.321Z root ERROR Uncaught Exception:  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: Indexdatei wird geladen: json-Indexdatei laden C:\Users\Thomas\AppData\Local\Arduino15\package_index.json: open C:\Users\Thomas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.

2025-11-18T14:30:51.321Z 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: Indexdatei wird geladen: json-Indexdatei laden C:\Users\Thomas\AppData\Local\Arduino15\package_index.json: open C:\Users\Thomas\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.

    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:6283973
    at y.evaluateErrorStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:6283989)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async a.<anonymous> (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:6283659)
2025-11-18T14:30:51.704Z root INFO creating connection for 1
2025-11-18T14:30:52.087Z root WARN A command editor.action.toggleStickyScroll is already registered.
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2025-11-18T14:30:52.134Z root INFO Start frontend contributions: 125.1 ms [Finished 1.227 s after frontend start]
2025-11-18T14:30:52.134Z root INFO Changed application state from 'init' to 'started_contributions'.
2025-11-18T14:30:52.137Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2025-11-18T14:30:52.137Z root INFO >>> Restoring the layout state...
2025-11-18T14:30:52.148Z root INFO [24bcb696-1b21-4ae5-99b1-7ebe172f0290] Waiting for backend deployment: 19.5 ms [Finished 1.245 s after frontend start]
2025-11-18T14:30:52.369Z root INFO [hosted-plugin: 5360] PLUGIN_HOST(5360) starting instance
[Object: null prototype] {}
2025-11-18T14:30:52.700Z root INFO [24bcb696-1b21-4ae5-99b1-7ebe172f0290] Sync of 23 plugins: 552.7 ms [Finished 1.798 s after frontend start]

THX 4 help

Hi @mav_aut. 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 errors indicate Arduino IDE is not able to access the Internet. 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.