Can't open Arduino IDE 2.3.2

Stuck on starting loading screen with the arduino logo bouncing

PS C:\Users\user\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\user\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.3.2
Checking for frontend application configuration customizations. Module path: C:\Users\user\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\user\AppData\Local\Programs\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.2" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.35.3" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-02-20T10:04:35.814Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"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.2","cliVersion":"0.35.3","buildDate":"2024-02-20T10:04:35.814Z"}
Starting backend process. PID: 10712
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/user/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-04-01T17:19:57.944Z root INFO Backend Object.initialize: 6.9 ms [Finished 0.849 s after backend start]
2024-04-01T17:19:57.945Z root INFO Backend Object.configure: 5.5 ms [Finished 0.849 s after backend start]
2024-04-01T17:19:57.945Z root INFO Backend s.onStart: 2.9 ms [Finished 0.849 s after backend start]
2024-04-01T17:19:57.946Z root INFO Backend s.configure: 0.4 ms [Finished 0.890 s after backend start]
2024-04-01T17:19:57.947Z root INFO Backend d.onStart: 0.3 ms [Finished 0.890 s after backend start]
2024-04-01T17:19:57.948Z root INFO Backend d.configure: 0.2 ms [Finished 0.890 s after backend start]
2024-04-01T17:19:57.950Z root INFO Backend d.initialize: 40.9 ms [Finished 0.890 s after backend start]
2024-04-01T17:19:57.950Z root INFO Backend c.onStart: 0.4 ms [Finished 0.890 s after backend start]
2024-04-01T17:19:57.951Z root INFO Backend a.configure: 1.9 ms [Finished 0.893 s after backend start]
2024-04-01T17:19:57.953Z config INFO >>> Initializing CLI configuration...
2024-04-01T17:19:57.953Z root INFO Backend c.initialize: 0.7 ms [Finished 0.893 s after backend start]
2024-04-01T17:19:57.954Z root INFO Backend R.onStart: 1.1 ms [Finished 0.894 s after backend start]
2024-04-01T17:19:57.955Z config INFO Loading CLI configuration from c:\Users\user\.arduinoIDE\arduino-cli.yaml...
2024-04-01T17:19:57.956Z daemon INFO Starting daemon from C:\Users\user\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-04-01T17:19:57.956Z root INFO Backend a.initialize: 0.7 ms [Finished 0.895 s after backend start]
2024-04-01T17:19:57.956Z root INFO Backend w.onStart: 2.0 ms [Finished 0.896 s after backend start]
2024-04-01T17:19:57.956Z root INFO Backend r.configure: 3.0 ms [Finished 0.897 s after backend start]
2024-04-01T17:19:57.956Z discovery-log INFO start
2024-04-01T17:19:57.956Z discovery-log INFO start new deferred
2024-04-01T17:19:57.956Z root INFO Backend d.initialize: 0.8 ms [Finished 0.898 s after backend start]
2024-04-01T17:19:57.956Z root INFO Backend y.onStart: 3.1 ms [Finished 0.900 s after backend start]
2024-04-01T17:19:57.956Z root INFO Backend r.configure: 2.6 ms [Finished 0.900 s after backend start]
2024-04-01T17:19:57.956Z root INFO Backend a.onStart: 1.0 ms [Finished 0.902 s after backend start]
2024-04-01T17:19:57.956Z root INFO Backend h.configure: 0.8 ms [Finished 0.903 s after backend start]
2024-04-01T17:19:57.956Z root INFO Backend s.configure: 0.3 ms [Finished 0.903 s after backend start]
2024-04-01T17:19:57.957Z root INFO Backend l.configure: 0.1 ms [Finished 0.903 s after backend start]
2024-04-01T17:19:57.961Z root INFO Theia app listening on http://127.0.0.1:51699.
2024-04-01T17:19:57.961Z root INFO Finished starting backend application: 5.4 ms [Finished 0.908 s after backend start]
2024-04-01T17:19:57.974Z root WARN The local plugin referenced by local-dir:/c%3A/Users/user/.arduinoIDE/plugins does not exist.
2024-04-01T17:19:57.974Z root WARN The local plugin referenced by local-dir:/c%3A/Users/user/.arduinoIDE/extensions does not exist.
2024-04-01T17:19:57.975Z root WARN The local plugin referenced by local-dir:C:\Users\user\.arduinoIDE\plugins does not exist.
Restoring workspace roots: e:\Tugas Kuliah TYO\koding\22ESP_Last\22ESP_Last.ino
isTempSketch: false. Input was e:\Tugas Kuliah TYO\koding\22ESP_Last\22ESP_Last.ino
2024-04-01T17:19:58.019Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\user\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\user\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\user\\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}}
2024-04-01T17:19:58.019Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-04-01T17:19:58.019Z config INFO Loaded the CLI configuration.
2024-04-01T17:19:58.031Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/user/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/user/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-04-01T17:19:58.032Z config INFO Validating the CLI configuration...
2024-04-01T17:19:58.035Z config INFO The CLI config is valid.
2024-04-01T17:19:58.035Z config INFO <<< Initialized the CLI configuration.
2024-04-01T17:19:58.084Z root INFO Resolve plugins list: 129.3 ms [Finished 1.030 s after backend start]
2024-04-01T17:19:58.223Z daemon INFO time="2024-04-02T00:19:58+07:00" level=info msg="Using config file: c:\\Users\\user\\.arduinoIDE\\arduino-cli.yaml"
time="2024-04-02T00:19:58+07:00" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-04-02T00:19:58+07:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:51701
{"IP":"127.0.0.1","Port":"51701"}
2024-04-01T17:19:58.223Z daemon INFO Daemon is running.
2024-04-01T17:19:58.505Z daemon INFO time="2024-04-02T00:19:58+07:00" level=info msg="Checking signature" index="C:\\Users\\user\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\user\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
time="2024-04-02T00:19:58+07:00" level=info msg="Loading hardware from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages"
time="2024-04-02T00:19:58+07:00" level=info msg="Loading package arduino from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware"
time="2024-04-02T00:19:58+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded platform" platform="arduino:esp32@2.0.11"
time="2024-04-02T00:19:58+07:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2024-04-02T00:19:58+07:00" level=info msg="Loading tools from dir: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="arduino:dfu-util@0.11.0-arduino5"
time="2024-04-02T00:19:58+07:00" level=info msg="Loading package builtin from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\builtin"
time="2024-04-02T00:19:58+07:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-04-02T00:19:58+07:00" level=info msg="Loading tools from dir: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
time="2024-04-02T00:19:58+07:00" level=info msg="Loading package esp32 from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware"
2024-04-01T17:19:58.659Z daemon INFO time="2024-04-02T00:19:58+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded platform" platform="esp32:esp32@2.0.11"
time="2024-04-02T00:19:58+07:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32\\tools"
time="2024-04-02T00:19:58+07:00" level=info msg="Loading tools from dir: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32\\tools"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="esp32:esptool_py@4.5.1"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="esp32:mklittlefs@3.0.0-gnu12-dc7f933"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="esp32:mkspiffs@0.2.3"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="esp32:openocd-esp32@v0.11.0-esp32-20221026"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="esp32:riscv32-esp-elf-gcc@esp-2021r2-patch5-8.4.0"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="esp32:riscv32-esp-elf-gdb@11.2_20220823"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp-elf-gdb@11.2_20220823"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32-elf-gcc@esp-2021r2-patch5-8.4.0"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32s2-elf-gcc@esp-2021r2-patch5-8.4.0"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32s3-elf-gcc@esp-2021r2-patch5-8.4.0"
time="2024-04-02T00:19:58+07:00" level=info msg="Loading package esp32-bluepad32 from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32-bluepad32\\hardware"
2024-04-01T17:19:58.808Z daemon INFO time="2024-04-02T00:19:58+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded platform" platform="esp32-bluepad32:esp32@4.0.0-beta.2"
time="2024-04-02T00:19:58+07:00" level=info msg="Loading package teensy from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware"
time="2024-04-02T00:19:58+07:00" level=info msg="Adding monitor tool" protocol=teensy tool="teensy:teensy-monitor"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded platform" platform="teensy:avr@1.58.1"
time="2024-04-02T00:19:58+07:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\teensy\\tools"
time="2024-04-02T00:19:58+07:00" level=info msg="Loading tools from dir: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\teensy\\tools"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="teensy:teensy-compile@11.3.1"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="teensy:teensy-compile@5.4.1"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="teensy:teensy-tools@1.56.2"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="teensy:teensy-tools@1.58.0"
time="2024-04-02T00:19:58+07:00" level=info msg="Loaded tool" tool="teensy:teensy-tools@1.58.2"
time="2024-04-02T00:19:58+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32-bluepad32\\hardware\\esp32\\4.0.0-beta.2\\libraries" location=platform
time="2024-04-02T00:19:58+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\esp32\\2.0.11\\libraries" location=platform
time="2024-04-02T00:19:58+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\libraries" location=platform
time="2024-04-02T00:19:58+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\libraries" location=platform
time="2024-04-02T00:19:58+07:00" level=info msg="Loading libraries index file" index="C:\\Users\\user\\AppData\\Local\\Arduino15\\library_index.json"
2024-04-01T17:19:58.815Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery teensy:teensy-discovery not found
2024-04-01T17:19:59.353Z daemon INFO time="2024-04-02T00:19:59+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-04-02T00:19:59+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\Documents\\Arduino\\libraries" location=user
2024-04-01T17:20:00.289Z root INFO Deploy plugins list: 129.3 ms [Finished 3.236 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-04-01T17:20:02.089Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 315.9 ms [Finished 3.878 s after frontend start]
2024-04-01T17:20:02.089Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-04-01T17:20:02.220Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 140.0 ms [Finished 4.085 s after frontend start]
2024-04-01T17:20:02.412Z 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: Error loading hardware platform: discovery teensy:teensy-discovery not found

2024-04-01T17:20:02.414Z daemon INFO time="2024-04-02T00:20:02+07:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-04-01T17:20:02.420Z daemon INFO time="2024-04-02T00:20:02+07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-04-01T17:20:02.428Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2024-04-01T17:20:02.629Z root WARN Frontend D.onStart took longer than the expected maximum 100 milliseconds: 317.9 ms [Finished 4.524 s after frontend start]
2024-04-01T17:20:03.870Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Checking signature" index="C:\\Users\\user\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\user\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-04-01T17:20:03.872Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loading hardware from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages"
2024-04-01T17:20:03.874Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loading package arduino from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware"
2024-04-01T17:20:03.878Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-04-02T00:20:03+07:00" level=info msg="Loaded platform" platform="arduino:esp32@2.0.11"
2024-04-01T17:20:03.878Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2024-04-02T00:20:03+07:00" level=info msg="Loading tools from dir: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
2024-04-01T17:20:03.879Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="arduino:dfu-util@0.11.0-arduino5"
2024-04-01T17:20:03.881Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loading package builtin from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-04-01T17:20:03.881Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-04-02T00:20:03+07:00" level=info msg="Loading tools from dir: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-04-01T17:20:03.883Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-04-01T17:20:03.883Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-04-01T17:20:03.884Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-04-01T17:20:03.884Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
2024-04-01T17:20:03.885Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"
2024-04-01T17:20:03.885Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-04-01T17:20:03.888Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loading package esp32 from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware"
2024-04-01T17:20:03.989Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-04-02T00:20:03+07:00" level=info msg="Loaded platform" platform="esp32:esp32@2.0.11"
2024-04-01T17:20:03.990Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32\\tools"
time="2024-04-02T00:20:03+07:00" level=info msg="Loading tools from dir: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32\\tools"
2024-04-01T17:20:03.991Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="esp32:esptool_py@4.5.1"
2024-04-01T17:20:03.991Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="esp32:mklittlefs@3.0.0-gnu12-dc7f933"
2024-04-01T17:20:03.992Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="esp32:mkspiffs@0.2.3"
2024-04-01T17:20:03.992Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="esp32:openocd-esp32@v0.11.0-esp32-20221026"
2024-04-01T17:20:03.993Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="esp32:riscv32-esp-elf-gcc@esp-2021r2-patch5-8.4.0"
2024-04-01T17:20:03.993Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="esp32:riscv32-esp-elf-gdb@11.2_20220823"
2024-04-01T17:20:03.994Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp-elf-gdb@11.2_20220823"
2024-04-01T17:20:03.994Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32-elf-gcc@esp-2021r2-patch5-8.4.0"
2024-04-01T17:20:03.995Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32s2-elf-gcc@esp-2021r2-patch5-8.4.0"
2024-04-01T17:20:03.995Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32s3-elf-gcc@esp-2021r2-patch5-8.4.0"
2024-04-01T17:20:03.997Z daemon INFO time="2024-04-02T00:20:03+07:00" level=info msg="Loading package esp32-bluepad32 from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32-bluepad32\\hardware"
2024-04-01T17:20:04.073Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-04-02T00:20:04+07:00" level=info msg="Loaded platform" platform="esp32-bluepad32:esp32@4.0.0-beta.2"
2024-04-01T17:20:04.075Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Loading package teensy from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware"
2024-04-01T17:20:04.084Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Adding monitor tool" protocol=teensy tool="teensy:teensy-monitor"
2024-04-01T17:20:04.084Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Loaded platform" platform="teensy:avr@1.58.1"
time="2024-04-02T00:20:04+07:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\teensy\\tools"
time="2024-04-02T00:20:04+07:00" level=info msg="Loading tools from dir: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\teensy\\tools"
2024-04-01T17:20:04.093Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Loaded tool" tool="teensy:teensy-compile@11.3.1"
2024-04-01T17:20:04.095Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Loaded tool" tool="teensy:teensy-compile@5.4.1"
2024-04-01T17:20:04.099Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Loaded tool" tool="teensy:teensy-tools@1.56.2"
2024-04-01T17:20:04.099Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Loaded tool" tool="teensy:teensy-tools@1.58.0"
2024-04-01T17:20:04.100Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Loaded tool" tool="teensy:teensy-tools@1.58.2"
2024-04-01T17:20:04.118Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery teensy:teensy-discovery not found
2024-04-01T17:20:04.126Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\libraries" location=platform
2024-04-01T17:20:04.135Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\esp32-bluepad32\\hardware\\esp32\\4.0.0-beta.2\\libraries" location=platform
2024-04-01T17:20:04.145Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\libraries" location=platform
2024-04-01T17:20:04.156Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\esp32\\2.0.11\\libraries" location=platform
time="2024-04-02T00:20:04+07:00" level=info msg="Loading libraries index file" index="C:\\Users\\user\\AppData\\Local\\Arduino15\\library_index.json"
2024-04-01T17:20:04.587Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-04-01T17:20:04.588Z daemon INFO time="2024-04-02T00:20:04+07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\Documents\\Arduino\\libraries" location=user
2024-04-01T17:20:06.768Z 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: Error loading hardware platform: discovery teensy:teensy-discovery not found

2024-04-01T17:20:06.768Z root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Error loading hardware platform: discovery teensy:teensy-discovery not found

    at C:\Users\user\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622877
    at E.evaluateErrorStatus (C:\Users\user\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622893)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async a.<anonymous> (C:\Users\user\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622563)

A post was split to a new topic: IDE hangs on startup

Hi @jermalprasetyo.

This indicates that something is wrong with the installation of the "Teensy" boards platform on your computer.

Other users who experienced this problem reported that it was fixed after uninstalling and then reinstalling the platform. Normally we can use the convenient Boards Manager GUI to uninstall platforms, but since the IDE doesn't start it will instead be necessary to uninstall it manually. After that, the IDE should start up and you can use Boards Manager to reinstall the platform.

I'll provide instructions you can follow to do that:

A. Uninstall "Teensy" Platform

  1. Close the Arduino IDE window if it is running.
  2. Delete the folder at the following path:
    /Users/sce_admin/Library/Arduino15/packages/teensy/
    
    :warning: Please be very careful when deleting things from your computer. When in doubt, back up!
    :exclamation: The Library folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.
  3. Start Arduino IDE.

The IDE should start successfully this time.

B. Reinstall "Teensy" Platform

The instructions above uninstalled the "Teensy" boards platform. If you need that platform, you should now reinstall it by following the official instructions here:

https://www.pjrc.com/arduino-ide-2-0-0-teensy-support/

Hopefully that will produce a fully working installation that won't interfere with the IDE's ability to start up on future sessions.


Please let me know if you have any questions or problems while following those instructions.

It works. Thank you so much. I really appreciate it.

You are welcome. I'm glad it is working now.

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.