Arduino IDE 2.0.4 doesn't finish startup

Downloaded the new IDE, install seemed to go smoothly, but the program failed to start. Got stuck on what looks like a loading screen. The logo just pulses on a gray background.

I've given all the permissions and done all the troubleshooting by turning off my security features. I don't believe that is the issue. I've uninstalled and reinstalled the software as administrator and restarted the computer.

I have another Arduino instance (1.8.19) installed and wonder if that is interfering with this install. They are in separate Program folders, the older version being in C:\Program Files(x86), and this 2.0.4 being in C:\Program Files.

Oddly enough the errors I see in the log indicate this 2.0.4 instance is seeing and choking on third-party libraries for the other 1.8.19 install. Namely teensy.

The log follows:

PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
PS C:\Program Files\Arduino IDE>
Arduino IDE 2.0.4
Starting backend process. PID: 8060
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/andre/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-03-14T02:24:23.099Z root INFO Backend Object.initialize: 3.4 ms [Finished 1.050 s after backend start]
2023-03-14T02:24:23.099Z root INFO Backend Object.configure: 2.7 ms [Finished 1.050 s after backend start]
2023-03-14T02:24:23.100Z root INFO Backend MessagingContribution.onStart: 1.3 ms [Finished 1.050 s after backend start]
2023-03-14T02:24:23.100Z root INFO Backend OSBackendApplicationContribution.configure: 0.3 ms [Finished 1.081 s after backend start]
2023-03-14T02:24:23.101Z root INFO Backend DefaultWorkspaceServer.onStart: 0.2 ms [Finished 1.081 s after backend start]
2023-03-14T02:24:23.102Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 1.081 s after backend start]
2023-03-14T02:24:23.102Z root INFO Backend PluginLocalizationBackendContribution.initialize: 30.8 ms [Finished 1.081 s after backend start]
2023-03-14T02:24:23.102Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.2 ms [Finished 1.081 s after backend start]
2023-03-14T02:24:23.103Z root INFO Backend ElectronTokenBackendContribution.configure: 0.9 ms [Finished 1.083 s after backend start]
2023-03-14T02:24:23.103Z config INFO >>> Initializing CLI configuration...
2023-03-14T02:24:23.104Z root INFO Backend PluginDeployerContribution.initialize: 0.5 ms [Finished 1.083 s after backend start]
2023-03-14T02:24:23.104Z root INFO Backend ConfigServiceImpl.onStart: 0.7 ms [Finished 1.083 s after backend start]
2023-03-14T02:24:23.105Z config INFO Loading CLI configuration from c:\Users\andre\.arduinoIDE\arduino-cli.yaml...
2023-03-14T02:24:23.105Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.3 ms [Finished 1.084 s after backend start]
2023-03-14T02:24:23.105Z root INFO Backend ArduinoDaemonImpl.onStart: 0.8 ms [Finished 1.085 s after backend start]
2023-03-14T02:24:23.105Z root INFO Backend NodeFileUploadService.configure: 1.6 ms [Finished 1.085 s after backend start]
2023-03-14T02:24:23.105Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2023-03-14T02:24:23.105Z discovery-log INFO start
2023-03-14T02:24:23.105Z discovery-log INFO start new deferred
2023-03-14T02:24:23.106Z root INFO Backend HostedPluginLocalizationService.initialize: 0.3 ms [Finished 1.086 s after backend start]
2023-03-14T02:24:23.106Z root INFO Backend BoardDiscovery.onStart: 0.8 ms [Finished 1.086 s after backend start]
2023-03-14T02:24:23.106Z root INFO Backend FileDownloadEndpoint.configure: 0.6 ms [Finished 1.086 s after backend start]
2023-03-14T02:24:23.106Z root INFO Backend AuthenticationServiceImpl.onStart: 0.4 ms [Finished 1.087 s after backend start]
2023-03-14T02:24:23.106Z root INFO Backend PluginApiContribution.configure: 0.4 ms [Finished 1.088 s after backend start]
2023-03-14T02:24:23.107Z root INFO Backend HostedPluginReader.configure: 0.3 ms [Finished 1.088 s after backend start]
2023-03-14T02:24:23.107Z root INFO Backend HostedPluginReader.configure: 0.0 ms [Finished 1.088 s after backend start]
2023-03-14T02:24:23.107Z root INFO Backend PlotterBackendContribution.configure: 0.7 ms [Finished 1.089 s after backend start]
2023-03-14T02:24:23.110Z root INFO Theia app listening on http://localhost:55855.
2023-03-14T02:24:23.110Z root INFO Finished starting backend application: 4.7 ms [Finished 1.092 s after backend start]
2023-03-14T02:24:23.118Z root WARN The local plugin referenced by local-dir:/c%3A/Users/andre/.arduinoIDE/plugins does not exist.
2023-03-14T02:24:23.118Z root WARN The local plugin referenced by local-dir:/c%3A/Users/andre/.arduinoIDE/extensions does not exist.
2023-03-14T02:24:23.118Z root WARN The local plugin referenced by local-dir:C:\Users\andre\.arduinoProIDE\plugins does not exist.
2023-03-14T02:24:23.132Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.133Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-03-14T02:24:23.133Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.133Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.7" with engines:
2023-03-14T02:24:23.133Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.133Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-03-14T02:24:23.133Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.133Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-03-14T02:24:23.133Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.133Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-03-14T02:24:23.133Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.133Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-03-14T02:24:23.134Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.134Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-03-14T02:24:23.135Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.135Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-03-14T02:24:23.136Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.136Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-03-14T02:24:23.137Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.138Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-03-14T02:24:23.139Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.140Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-03-14T02:24:23.140Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.141Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-03-14T02:24:23.141Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.142Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-03-14T02:24:23.142Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.143Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-03-14T02:24:23.144Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.144Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-03-14T02:24:23.144Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.145Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-03-14T02:24:23.145Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.146Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
2023-03-14T02:24:23.148Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.149Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-03-14T02:24:23.149Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.150Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-03-14T02:24:23.151Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.151Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-03-14T02:24:23.152Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-14T02:24:23.153Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
2023-03-14T02:24:23.160Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"
},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\andre\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\andre\\AppData\\Local\\Arduino15\\staging","u
ser":"C:\\Users\\andre\\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-03-14T02:24:23.160Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-03-14T02:24:23.161Z config INFO Loaded the CLI configuration.
2023-03-14T02:24:23.165Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/andre/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/User
s/andre/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-03-14T02:24:23.165Z config INFO Validating the CLI configuration...
2023-03-14T02:24:23.166Z config INFO The CLI config is valid.
2023-03-14T02:24:23.167Z config INFO <<< Initialized the CLI configuration.
2023-03-14T02:24:23.174Z daemon INFO INFO[0000] Using config file: c:\Users\andre\.arduinoIDE\arduino-cli.yaml
INFO[0000] arduino-cli.exe version 0.31.0
INFO[0000] Executing `arduino-cli daemon`

2023-03-14T02:24:23.190Z daemon INFO {"IP":"127.0.0.1","Port":"55856"}

2023-03-14T02:24:23.190Z daemon INFO Daemon is running.
2023-03-14T02:24:23.204Z root INFO Resolve plugins list: 99.8 ms [Finished 1.186 s after backend start]
2023-03-14T02:24:23.205Z daemon INFO INFO[0000] Loading hardware from: C:\Users\andre\AppData\Local\Arduino15\packages

2023-03-14T02:24:23.205Z daemon INFO INFO[0000] Loading package builtin from: C:\Users\andre\AppData\Local\Arduino15\packages\builtin
INFO[0000] Checking existence of 'tools' path: C:\Users\andre\AppData\Local\Arduino15\packages\builtin\tools
INFO[0000] Loading tools from dir: C:\Users\andre\AppData\Local\Arduino15\packages\builtin\tools

2023-03-14T02:24:23.206Z daemon INFO INFO[0000] Loaded tool                                   tool="builtin:ctags@5.8-arduino11"
INFO[0000] Loaded tool                                   tool="builtin:mdns-discovery@1.0.8"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.4.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.13.0"

2023-03-14T02:24:23.210Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\cortex-debug\extensi
on\dist\extension.js": 5.3 ms [Finished 1.192 s after backend start]
2023-03-14T02:24:23.210Z daemon INFO INFO[0000] Loading package teensy from: C:\Users\andre\AppData\Local\Arduino15\packages\teensy\hardware
INFO[0000] Adding monitor tool                           protocol=teensy tool="teensy:teensy-monitor"
INFO[0000] Loaded platform                               platform="teensy:avr@1.57.2"
INFO[0000] Checking existence of 'tools' path: C:\Users\andre\AppData\Local\Arduino15\packages\teensy\tools
INFO[0000] Loading tools from dir: C:\Users\andre\AppData\Local\Arduino15\packages\teensy\tools
INFO[0000] Loaded tool                                   tool="teensy:teensy-compile@5.4.1"

2023-03-14T02:24:23.211Z daemon INFO INFO[0000] Loaded tool                                   tool="teensy:teensy-tools@1.57.2"

2023-03-14T02:24:23.213Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.7" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscod
e-arduino-tools\extension\dist\bundle": 3.9 ms [Finished 1.196 s after backend start]
2023-03-14T02:24:23.221Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension"
: 7.7 ms [Finished 1.204 s after backend start]
2023-03-14T02:24:23.222Z daemon INFO INFO[0000] Checking signature                            index="C:\\Users\\andre\\AppData\\Local\\Arduino15\\package_index.json"
 signatureFile="C:\\Users\\andre\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
INFO[0000] Adding libraries dir                          dir="C:\\Users\\andre\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.57.2\\libraries" locati
on=platform
INFO[0000] Loading libraries index file                  index="C:\\Users\\andre\\AppData\\Local\\Arduino15\\library_index.json"

2023-03-14T02:24:23.223Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discove
ry teensy:teensy-discovery not found
2023-03-14T02:24:23.225Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json\extensio
n": 3.6 ms [Finished 1.207 s after backend start]
2023-03-14T02:24:23.227Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-bui
ltin-json-language-features\extension\client\dist\jsonMain": 2.2 ms [Finished 1.209 s after backend start]
2023-03-14T02:24:23.294Z 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": 66.9 ms [Finished 1.276 s after backend start]
2023-03-14T02:24:23.353Z 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": 59.0 ms [Finished 1.336 s after backend start]
2023-03-14T02:24:23.452Z 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": 98.7 ms [Finished 1.434 s after backend start]
2023-03-14T02:24:23.453Z daemon INFO INFO[0000] Adding libraries dir                          dir="C:\\Users\\andre\\AppData\\Local\\Arduino15\\libraries" location=i
de
INFO[0000] Adding libraries dir                          dir="C:\\Users\\andre\\Documents\\Arduino\\libraries" location=user

2023-03-14T02:24:23.513Z 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": 61.0 ms [Finished 1.495 s after backend start]
2023-03-14T02:24:23.561Z 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": 48.2 ms [Finished 1.544 s after backend start]
2023-03-14T02:24:23.604Z 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": 42.2 ms [Finished 1.586 s after backend start]
2023-03-14T02:24:23.649Z 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": 45.3 ms [Finished 1.631 s after backend start]
2023-03-14T02:24:23.692Z 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": 43.5 ms [Finished 1.675 s after backend start]
2023-03-14T02:24:23.737Z 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": 44.3 ms [Finished 1.719 s after backend start]
2023-03-14T02:24:23.757Z 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": 19.8 ms [Finished 1.739 s after backend start]
2023-03-14T02:24:23.801Z 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": 44.5 ms [Finished 1.783 s after backend start]
2023-03-14T02:24:23.843Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vsc
ode-language-pack-pt-BR\extension": 42.2 ms [Finished 1.826 s after backend start]
2023-03-14T02:24:23.892Z 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": 48.5 ms [Finished 1.874 s after backend start]
2023-03-14T02:24:23.942Z 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": 49.6 ms [Finished 1.924 s after backend start]
2023-03-14T02:24:23.972Z 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": 30.2 ms [Finished 1.954 s after backend start]
2023-03-14T02:24:24.017Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\v
scode-language-pack-zh-hans\extension": 44.4 ms [Finished 1.999 s after backend start]
2023-03-14T02:24:24.017Z root INFO Deploy plugins list: 99.8 ms [Finished 1.999 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-03-14T02:24:24.652Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 153.1 ms [Finished 1.474 s after frontend start]
2023-03-14T02:24:25.010Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client
2023-03-14T02:24:25.011Z daemon INFO INFO[0001] Updating index                                url="https://downloads.arduino.cc/packages/package_index.tar.bz2"

2023-03-14T02:24:25.012Z daemon INFO INFO[0001] Starting download                             url="https://downloads.arduino.cc/packages/package_index.tar.bz2"

2023-03-14T02:24:25.013Z root INFO core-client-provider [platform-index]
2023-03-14T02:24:25.221Z daemon INFO INFO[0002] Loading hardware from: C:\Users\andre\AppData\Local\Arduino15\packages

2023-03-14T02:24:25.222Z daemon INFO INFO[0002] Loading package builtin from: C:\Users\andre\AppData\Local\Arduino15\packages\builtin

2023-03-14T02:24:25.222Z daemon INFO INFO[0002] Checking existence of 'tools' path: C:\Users\andre\AppData\Local\Arduino15\packages\builtin\tools
INFO[0002] Loading tools from dir: C:\Users\andre\AppData\Local\Arduino15\packages\builtin\tools
INFO[0002] Loaded tool                                   tool="builtin:ctags@5.8-arduino11"
INFO[0002] Loaded tool                                   tool="builtin:mdns-discovery@1.0.8"
INFO[0002] Loaded tool                                   tool="builtin:serial-discovery@1.4.0"

2023-03-14T02:24:25.223Z daemon INFO INFO[0002] Loaded tool                                   tool="builtin:serial-monitor@0.13.0"

2023-03-14T02:24:25.225Z daemon INFO INFO[0002] Loading package teensy from: C:\Users\andre\AppData\Local\Arduino15\packages\teensy\hardware

2023-03-14T02:24:25.225Z daemon INFO INFO[0002] Adding monitor tool                           protocol=teensy tool="teensy:teensy-monitor"
INFO[0002] Loaded platform                               platform="teensy:avr@1.57.2"

2023-03-14T02:24:25.226Z daemon INFO INFO[0002] Checking existence of 'tools' path: C:\Users\andre\AppData\Local\Arduino15\packages\teensy\tools
INFO[0002] Loading tools from dir: C:\Users\andre\AppData\Local\Arduino15\packages\teensy\tools

2023-03-14T02:24:25.226Z daemon INFO INFO[0002] Loaded tool                                   tool="teensy:teensy-compile@5.4.1"
INFO[0002] Loaded tool                                   tool="teensy:teensy-tools@1.57.2"

2023-03-14T02:24:25.230Z daemon INFO INFO[0002] Checking signature                            index="C:\\Users\\andre\\AppData\\Local\\Arduino15\\package_index.json"
 signatureFile="C:\\Users\\andre\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true

2023-03-14T02:24:25.231Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discove
ry teensy:teensy-discovery not found
2023-03-14T02:24:25.233Z daemon INFO INFO[0002] Adding libraries dir                          dir="C:\\Users\\andre\\AppData\\Local\\Arduino15\\packages\\teensy\\har
dware\\avr\\1.57.2\\libraries" location=platform
INFO[0002] Loading libraries index file                  index="C:\\Users\\andre\\AppData\\Local\\Arduino15\\library_index.json"

2023-03-14T02:24:25.365Z daemon INFO INFO[0002] Adding libraries dir                          dir="C:\\Users\\andre\\AppData\\Local\\Arduino15\\libraries" location=i
de

2023-03-14T02:24:25.365Z daemon INFO INFO[0002] Adding libraries dir                          dir="C:\\Users\\andre\\Documents\\Arduino\\libraries" location=user

2023-03-14T02:24:26.809Z root ERROR Uncaught Exception:
2023-03-14T02:24:26.809Z 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 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)
                               > [2036:0313/192622.156:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is disabled, ANGLE is

I'm not familiar with what is involved for Teensies. The possible workaround is to move C:\Users\andre\AppData\Local\Arduino15\packages\teensy\ out of the way (that is, make a backup and delete) using Windows explorer and (re)start the IDE. Once the IDE has started successfully, install the board package using the board manager.

#tldr (a file preferences.txt located in Users\<user>\AppData\Local\Arduino15\ was not deleted during uninstall, manual deletion fixed the issue.)

I made backups of important files and uninstalled both IDEs and check to ensure all data was removed from the respective program files. I restarted the computer and reinstalled 2.0.4.

It still didn't work, so I got another log and saw that it was still trying to install teensy.

I'd checked to ensure that no directories in the Program Files folders for the previous version of the IDEs exist, but the log explicitly cites a location in Users\<user>\AppData\Local\Arduino15\ which I've located and the preferences.txt still contains an entry for the user-added board manager URL that was added for 1.819. Assuming and then verifying that this preference folder was not uninstalled during the uninstall process, I deleted it manually and then reinstalled 2.0.4.

This fixed the issue and the IDE loads correctly now.

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