TLDR Problem solved. My date and time settings were off because I have manually changed them in the past and it was clashing with the timezone which was set to the wrong location. Setting the timezone to the correct location and automatically syncing the time fixed my problems.
Its glitched and to do with missing plugins I think. This is the message I get from running
& ".\Arduino IDE"
Arduino IDE 2.3.3
Checking for frontend application configuration customizations. Module path: C:\Users\funkj_0ntnbwt\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\funkj_0ntnbwt\AppData\Local\Programs\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.3" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.0.4" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-09-25T09:41:18.242Z" (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.3","cliVersion":"1.0.4","buildDate":"2024-09-25T09:41:18.242Z"}
Starting backend process. PID: 5564
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/funkj_0ntnbwt/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-09-26T13:40:06.893Z root INFO Backend Object.initialize: 4.0 ms [Finished 0.500 s after backend start]
2024-09-26T13:40:06.893Z root INFO Backend Object.configure: 3.2 ms [Finished 0.500 s after backend start]
2024-09-26T13:40:06.893Z root INFO Backend a.onStart: 1.6 ms [Finished 0.500 s after backend start]
2024-09-26T13:40:06.894Z root INFO Backend a.configure: 0.3 ms [Finished 0.523 s after backend start]
2024-09-26T13:40:06.894Z root INFO Backend d.onStart: 0.2 ms [Finished 0.523 s after backend start]
2024-09-26T13:40:06.895Z root INFO Backend d.configure: 0.1 ms [Finished 0.523 s after backend start]
2024-09-26T13:40:06.896Z root INFO Backend d.initialize: 22.5 ms [Finished 0.523 s after backend start]
2024-09-26T13:40:06.896Z root INFO Backend c.onStart: 0.2 ms [Finished 0.523 s after backend start]
2024-09-26T13:40:06.896Z root INFO Backend s.configure: 0.9 ms [Finished 0.524 s after backend start]
2024-09-26T13:40:06.898Z config INFO >>> Initializing CLI configuration...
2024-09-26T13:40:06.898Z root INFO Backend c.initialize: 0.5 ms [Finished 0.524 s after backend start]
2024-09-26T13:40:06.898Z root INFO Backend x.onStart: 0.8 ms [Finished 0.525 s after backend start]
2024-09-26T13:40:06.898Z config INFO Loading CLI configuration from c:\Users\funkj_0ntnbwt\.arduinoIDE\arduino-cli.yaml...
2024-09-26T13:40:06.899Z daemon INFO Starting daemon from C:\Users\funkj_0ntnbwt\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-09-26T13:40:06.899Z root INFO Backend s.initialize: 0.4 ms [Finished 0.526 s after backend start]
2024-09-26T13:40:06.899Z root INFO Backend w.onStart: 0.9 ms [Finished 0.526 s after backend start]
2024-09-26T13:40:06.899Z root INFO Backend r.configure: 1.5 ms [Finished 0.526 s after backend start]
2024-09-26T13:40:06.899Z discovery-log INFO start
2024-09-26T13:40:06.899Z discovery-log INFO start new deferred
2024-09-26T13:40:06.899Z root INFO Backend d.initialize: 0.4 ms [Finished 0.527 s after backend start]
2024-09-26T13:40:06.899Z root INFO Backend y.onStart: 1.7 ms [Finished 0.528 s after backend start]
2024-09-26T13:40:06.899Z root INFO Backend r.configure: 1.4 ms [Finished 0.528 s after backend start]
2024-09-26T13:40:06.899Z root INFO Backend s.onStart: 0.4 ms [Finished 0.530 s after backend start]
2024-09-26T13:40:06.899Z root INFO Backend h.configure: 0.4 ms [Finished 0.530 s after backend start]
2024-09-26T13:40:06.899Z root INFO Backend a.configure: 0.1 ms [Finished 0.530 s after backend start]
2024-09-26T13:40:06.899Z root INFO Backend l.configure: 0.1 ms [Finished 0.530 s after backend start]
2024-09-26T13:40:06.901Z root INFO Theia app listening on http://127.0.0.1:63659.
2024-09-26T13:40:06.902Z root INFO Finished starting backend application: 2.5 ms [Finished 0.532 s after backend start]
2024-09-26T13:40:06.908Z root WARN The local plugin referenced by local-dir:/c%3A/Users/funkj_0ntnbwt/.arduinoIDE/plugins does not exist.
2024-09-26T13:40:06.908Z root WARN The local plugin referenced by local-dir:/c%3A/Users/funkj_0ntnbwt/.arduinoIDE/extensions does not exist.
2024-09-26T13:40:06.908Z root WARN The local plugin referenced by local-dir:C:\Users\funkj_0ntnbwt\.arduinoIDE\plugins does not exist.
2024-09-26T13:40:06.918Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\funkj_0ntnbwt\\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-09-26T13:40:06.918Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-09-26T13:40:06.918Z config INFO Loaded the CLI configuration.
2024-09-26T13:40:06.922Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/funkj_0ntnbwt/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/funkj_0ntnbwt/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-09-26T13:40:06.922Z config INFO Validating the CLI configuration...
2024-09-26T13:40:06.923Z config INFO The CLI config is valid.
2024-09-26T13:40:06.923Z config INFO <<< Initialized the CLI configuration.
2024-09-26T13:40:06.940Z root INFO Resolve plugins list: 41.8 ms [Finished 0.570 s after backend start]
2024-09-26T13:40:06.950Z daemon INFO time="2024-09-26T09:40:06-04:00" level=info msg="arduino-cli version 1.0.4"
2024-09-26T13:40:06.951Z daemon INFO time="2024-09-26T09:40:06-04:00" level=info msg="Using config file: c:\\Users\\funkj_0ntnbwt\\.arduinoIDE\\arduino-cli.yaml"
time="2024-09-26T09:40:06-04:00" level=info msg="Executing `arduino-cli daemon`"
2024-09-26T13:40:06.958Z daemon INFO Daemon is now listening on 127.0.0.1:63660
{"IP":"127.0.0.1","Port":"63660"}
2024-09-26T13:40:06.958Z daemon INFO Daemon is running.
2024-09-26T13:40:06.992Z daemon INFO time="2024-09-26T09:40:06-04:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-09-26T13:40:07.785Z root INFO Deploy plugins list: 41.8 ms [Finished 1.416 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-09-26T13:40:08.736Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 140.6 ms [Finished 1.739 s after frontend start]
2024-09-26T13:40:08.736Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-09-26T13:40:08.967Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: openpgp: signature expired
2024-09-26T13:40:08.978Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Checking signature" index="C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-09-26T13:40:08.979Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Loading hardware from: C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\packages"
2024-09-26T13:40:08.980Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Loading package builtin from: C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-09-26T13:40:08.980Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-09-26T09:40:08-04:00" level=info msg="Loading tools from dir: C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-09-26T13:40:08.980Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-09-26T13:40:08.981Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-09-26T13:40:08.981Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-09-26T13:40:08.981Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
2024-09-26T13:40:08.981Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-09-26T13:40:08.995Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Loading libraries index file" index="C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\library_index.json"
2024-09-26T13:40:08.995Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
2024-09-26T13:40:08.996Z 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\funkj_0ntnbwt\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-09-26T13:40:08.996Z daemon INFO time="2024-09-26T09:40:08-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\funkj_0ntnbwt\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user
2024-09-26T13:40:09.002Z 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:
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\funkj_0ntnbwt\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-09-26T13:40:09.005Z daemon INFO time="2024-09-26T09:40:09-04:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-09-26T13:40:09.008Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2
2024-09-26T13:40:10.418Z daemon INFO time="2024-09-26T09:40:10-04:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-09-26T13:40:11.946Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: openpgp: signature expired
2024-09-26T13:40:11.952Z daemon INFO time="2024-09-26T09:40:11-04:00" level=info msg="Checking signature" index="C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-09-26T13:40:11.952Z daemon INFO time="2024-09-26T09:40:11-04:00" level=info msg="Loading hardware from: C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\packages"
2024-09-26T13:40:11.953Z daemon INFO time="2024-09-26T09:40:11-04:00" level=info msg="Loading package builtin from: C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-09-26T13:40:11.953Z daemon INFO time="2024-09-26T09:40:11-04:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-09-26T09:40:11-04:00" level=info msg="Loading tools from dir: C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-09-26T13:40:11.953Z daemon INFO time="2024-09-26T09:40:11-04:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-09-26T13:40:11.953Z daemon INFO time="2024-09-26T09:40:11-04:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-09-26T13:40:11.953Z daemon INFO time="2024-09-26T09:40:11-04:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-09-26T13:40:11.953Z daemon INFO time="2024-09-26T09:40:11-04:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
2024-09-26T13:40:11.954Z daemon INFO time="2024-09-26T09:40:11-04:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-09-26T13:40:11.962Z daemon INFO time="2024-09-26T09:40:11-04:00" level=info msg="Loading libraries index file" index="C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\library_index.json"
2024-09-26T13:40:11.962Z 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\funkj_0ntnbwt\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-09-26T13:40:11.962Z daemon INFO time="2024-09-26T09:40:11-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\funkj_0ntnbwt\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
time="2024-09-26T09:40:11-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\funkj_0ntnbwt\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user
2024-09-26T13:40:11.963Z 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:
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\funkj_0ntnbwt\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-09-26T13:40:11.963Z 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:
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\funkj_0ntnbwt\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
at C:\Users\funkj_0ntnbwt\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:770471
at v.evaluateErrorStatus (C:\Users\funkj_0ntnbwt\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:770487)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async s.<anonymous> (C:\Users\funkj_0ntnbwt\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:770157)