arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.32k stars 394 forks source link

IDE2.11 does not start in Windows10 #2122

Open wavoigt opened 1 year ago

wavoigt commented 1 year ago

Describe the problem

If i try to start IDE 2.11 in Windows 10, nothing happens. In Windows Task manager, it shows up with 0% CPU usage and 26,5 MB Ram usage.

To reproduce

n.a.

Expected behavior

n.a.

Arduino IDE version

2.11

Operating system

Windows

Operating system version

10 22H2, latest updates

Additional context

No response

Issue checklist

per1234 commented 1 year ago

Thanks for your report @wavoigt. I'm going to ask you to provide some additional information that might help us to identify the problem.

Please do this:

  1. Close all Arduino IDE windows if the IDE is already running.
  2. Start Windows "File Explorer".
  3. Open the Arduino IDE installation folder (usually C:\Program Files\Arduino IDE or C:\Users\<username>\AppData\Local\Programs\Arduino IDE).
  4. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  5. From the context menu, click "Open PowerShell window here". PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  6. Type the following command:
    & ".\Arduino IDE"
  7. Press the Enter key. Debug output should now be printed to the PowerShell window as Arduino IDE starts (or fails to start).
  8. Wait for Arduino IDE to finish starting, or failing to start.
  9. Switch back to the PowerShell window if the Arduino IDE window took the focus.
  10. Right click on the title bar of the PowerShell window. This will open a context menu.
  11. Select Edit > Select All from the context menu. This will select all the text in the PowerShell window.
  12. Press Ctrl+C. This will copy the contents of the PowerShell window to the clipboard.
  13. Paste (Ctrl+V) the output in a reply to this GitHub issue thread.

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

wavoigt commented 1 year ago
PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
PS C:\Program Files\Arduino IDE>
Failed to start the electron application.
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: C:\Program Files\Arduino IDE\resources\app\node_modules\p-filter\node_modules\p-map\index.js
require() of ES modules is not supported.
require() of C:\Program Files\Arduino IDE\resources\app\node_modules\p-filter\node_modules\p-map\index.js from C:\Program Files\Arduino IDE\resources\app\node_modules\p-filter\index.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename C:\Program Files\Arduino IDE\resources\app\node_modules\p-filter\node_modules\p-map\index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from C:\Program Files\Arduino IDE\resources\app\node_modules\p-filter\node_modules\p-map\package.json.

    at new NodeError (node:internal/errors:370:5)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1128:13)
    at Module.load (node:internal/modules/cjs/loader:982:32)
    at Module._load (node:internal/modules/cjs/loader:823:12)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1006:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (C:\Program Files\Arduino IDE\resources\app\node_modules\p-filter\index.js:2:14)
    at Module._compile (node:internal/modules/cjs/loader:1110:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1140:10) {
  code: 'ERR_REQUIRE_ESM'
}
wavoigt commented 1 year ago

@per1234 I found the solution: the files in:

C:\Program Files\Arduino IDE\resources\app\node_modules\p-filter\node_modules\p-map\

were outdated, obviously from the old 2.1.0 installation or the last nightly build, and the installer of 2.1.1 did not overwrite them. I de-installed the old version completely and installed 2.1.1 in a clean folder. Now it's working fine. Thank you so much for your effort.

Mohsnb commented 11 months ago

Hello, 1.Make a temp folder. (eg: "D:\arduiotemp\temp") 2.Create a .BAT file and put this lines to it:

@echo off
@set TEMP=D:\arduiotemp\temp&& "C:\Program Files\Arduino IDE\Arduino IDE.exe" >NUL

Run this bat file as administrator.

GRBlake488 commented 9 months ago

I have the same problem. Here is my PowerShell file:

PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
PS C:\Program Files\Arduino IDE>
Arduino IDE 2.3.0
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.0" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.35.2" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-02-07T14:04:32.754Z" (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.0","cliVersion":"0.35.2","buildDate":"2024-02-07T14:04:32.754Z"}
Starting backend process. PID: 21324
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/georg/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-02-10T03:39:50.604Z root INFO Backend Object.initialize: 9.1 ms [Finished 1.276 s after backend start]
2024-02-10T03:39:50.606Z root INFO Backend Object.configure: 7.4 ms [Finished 1.276 s after backend start]
2024-02-10T03:39:50.606Z root INFO Backend a.onStart: 4.1 ms [Finished 1.276 s after backend start]
2024-02-10T03:39:50.608Z root INFO Backend a.configure: 0.6 ms [Finished 1.328 s after backend start]
2024-02-10T03:39:50.609Z root INFO Backend d.onStart: 0.4 ms [Finished 1.329 s after backend start]
2024-02-10T03:39:50.612Z root INFO Backend d.configure: 0.2 ms [Finished 1.329 s after backend start]
2024-02-10T03:39:50.614Z root WARN Backend d.initialize took longer than the expected maximum 50 milliseconds: 53.0 ms [Finished 1.330 s after backend start]
2024-02-10T03:39:50.615Z root INFO Backend c.onStart: 1.0 ms [Finished 1.330 s after backend start]
2024-02-10T03:39:50.616Z root INFO Backend s.configure: 2.7 ms [Finished 1.333 s after backend start]
2024-02-10T03:39:50.622Z config INFO >>> Initializing CLI configuration...
2024-02-10T03:39:50.622Z root INFO Backend c.initialize: 1.5 ms [Finished 1.333 s after backend start]
2024-02-10T03:39:50.622Z root INFO Backend R.onStart: 2.0 ms [Finished 1.335 s after backend start]
2024-02-10T03:39:50.624Z config INFO Loading CLI configuration from c:\Users\georg\.arduinoIDE\arduino-cli.yaml...
2024-02-10T03:39:50.626Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-02-10T03:39:50.626Z root INFO Backend s.initialize: 1.3 ms [Finished 1.337 s after backend start]
2024-02-10T03:39:50.626Z root INFO Backend w.onStart: 3.3 ms [Finished 1.339 s after backend start]
2024-02-10T03:39:50.626Z root INFO Backend r.configure: 5.6 ms [Finished 1.340 s after backend start]
2024-02-10T03:39:50.626Z discovery-log INFO start
2024-02-10T03:39:50.626Z discovery-log INFO start new deferred
2024-02-10T03:39:50.626Z root INFO Backend d.initialize: 1.1 ms [Finished 1.342 s after backend start]
2024-02-10T03:39:50.626Z root INFO Backend y.onStart: 6.4 ms [Finished 1.348 s after backend start]
2024-02-10T03:39:50.626Z root INFO Backend r.configure: 5.4 ms [Finished 1.348 s after backend start]
2024-02-10T03:39:50.627Z root INFO Backend s.onStart: 1.1 ms [Finished 1.351 s after backend start]
2024-02-10T03:39:50.627Z root INFO Backend h.configure: 1.0 ms [Finished 1.352 s after backend start]
2024-02-10T03:39:50.627Z root INFO Backend a.configure: 0.4 ms [Finished 1.352 s after backend start]
2024-02-10T03:39:50.627Z root INFO Backend l.configure: 0.1 ms [Finished 1.352 s after backend start]
2024-02-10T03:39:50.635Z root INFO Theia app listening on http://127.0.0.1:49186.
2024-02-10T03:39:50.635Z root INFO Finished starting backend application: 9.0 ms [Finished 1.361 s after backend start]
2024-02-10T03:39:50.674Z root WARN The local plugin referenced by local-dir:/c%3A/Users/georg/.arduinoIDE/plugins does not exist.
2024-02-10T03:39:50.674Z root WARN The local plugin referenced by local-dir:/c%3A/Users/georg/.arduinoIDE/extensions does not exist.
2024-02-10T03:39:50.675Z root WARN The local plugin referenced by local-dir:C:\Users\georg\.arduinoIDE\plugins does not exist.
2024-02-10T03:39:50.696Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\georg\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\georg\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\georg\\OneDrive\\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-02-10T03:39:50.696Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-02-10T03:39:50.696Z config INFO Loaded the CLI configuration.
2024-02-10T03:39:50.716Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/georg/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/georg/OneDrive/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-02-10T03:39:50.716Z config INFO Validating the CLI configuration...
2024-02-10T03:39:50.717Z config INFO The CLI config is valid.
2024-02-10T03:39:50.717Z config INFO <<< Initialized the CLI configuration.
2024-02-10T03:39:50.808Z root INFO Resolve plugins list: 183.7 ms [Finished 1.532 s after backend start]
2024-02-10T03:39:51.915Z daemon INFO time="2024-02-09T21:39:51-06:00" level=info msg="Using config file: c:\\Users\\georg\\.arduinoIDE\\arduino-cli.yaml"
time="2024-02-09T21:39:51-06:00" level=info msg="arduino-cli.exe version 0.35.2"
time="2024-02-09T21:39:51-06:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:49187
{"IP":"127.0.0.1","Port":"49187"}
2024-02-10T03:39:51.919Z daemon INFO Daemon is running.
2024-02-10T03:39:52.336Z daemon INFO time="2024-02-09T21:39:52-06:00" level=info msg="Checking signature" index="C:\\Users\\georg\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\georg\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
time="2024-02-09T21:39:52-06:00" level=info msg="Loading hardware from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages"
time="2024-02-09T21:39:52-06:00" level=info msg="Loading package STM32 from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware"
2024-02-10T03:39:52.366Z daemon INFO time="2024-02-09T21:39:52-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded platform" platform="STM32:stm32@1.9.0"
time="2024-02-09T21:39:52-06:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\STM32\\tools"
time="2024-02-09T21:39:52-06:00" level=info msg="Loading tools from dir: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\STM32\\tools"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded tool" tool="STM32:CMSIS@5.5.1"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded tool" tool="STM32:STM32Tools@1.4.0"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded tool" tool="STM32:xpack-arm-none-eabi-gcc@9.2.1-1.1"
time="2024-02-09T21:39:52-06:00" level=info msg="Loading package SparkFun from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\SparkFun\\hardware"
2024-02-10T03:39:52.414Z daemon INFO time="2024-02-09T21:39:52-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded platform" platform="SparkFun:avr@1.1.13"
2024-02-10T03:39:52.553Z daemon INFO time="2024-02-09T21:39:52-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded platform" platform="SparkFun:esp32@1.0.0"
time="2024-02-09T21:39:52-06:00" level=info msg="Loading package arduino from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware"
time="2024-02-09T21:39:52-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded platform" platform="arduino:avr@1.8.4"
time="2024-02-09T21:39:52-06:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2024-02-09T21:39:52-06:00" level=info msg="Loading tools from dir: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded tool" tool="arduino:arduinoOTA@1.3.0"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded tool" tool="arduino:avrdude@6.3.0-arduino17"
time="2024-02-09T21:39:52-06:00" level=info msg="Loading package attiny from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\attiny\\hardware"
time="2024-02-09T21:39:52-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded platform" platform="attiny:avr@1.0.2"
time="2024-02-09T21:39:52-06:00" level=info msg="Loading package builtin from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\builtin"
time="2024-02-09T21:39:52-06:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-02-09T21:39:52-06:00" level=info msg="Loading tools from dir: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
time="2024-02-09T21:39:52-06:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"
time="2024-02-09T21:39:52-06:00" level=info msg="Loading package esp32 from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware"
2024-02-10T03:39:53.127Z daemon INFO time="2024-02-09T21:39:53-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-09T21:39:53-06:00" level=info msg="Loaded platform" platform="esp32:esp32@1.0.5"
time="2024-02-09T21:39:53-06:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\esp32\\tools"
time="2024-02-09T21:39:53-06:00" level=info msg="Loading tools from dir: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\esp32\\tools"
time="2024-02-09T21:39:53-06:00" level=info msg="Loaded tool" tool="esp32:esptool_py@3.0.0"
time="2024-02-09T21:39:53-06:00" level=info msg="Loaded tool" tool="esp32:mkspiffs@0.2.3"
time="2024-02-09T21:39:53-06:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32-elf-gcc@1.22.0-97-gc752ad5-5.2.0"
time="2024-02-09T21:39:53-06:00" level=info msg="Loading package teensy from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware"
2024-02-10T03:39:53.425Z daemon INFO time="2024-02-09T21:39:53-06:00" level=info msg="Adding monitor tool" protocol=teensy tool="teensy:teensy-monitor"
time="2024-02-09T21:39:53-06:00" level=info msg="Loaded platform" platform="teensy:avr@1.58.1"
time="2024-02-09T21:39:53-06:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\teensy\\tools"
time="2024-02-09T21:39:53-06:00" level=info msg="Loading tools from dir: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\teensy\\tools"
time="2024-02-09T21:39:53-06:00" level=info msg="Loaded tool" tool="teensy:teensy-compile@11.3.1"
time="2024-02-09T21:39:53-06:00" level=info msg="Loaded tool" tool="teensy:teensy-tools@1.58.0"
time="2024-02-09T21:39:53-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\SparkFun\\hardware\\esp32\\1.0.0\\libraries" location=platform
time="2024-02-09T21:39:53-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\SparkFun\\hardware\\avr\\1.1.13\\libraries" location=platform
time="2024-02-09T21:39:53-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.5\\libraries" location=platform
2024-02-10T03:39:53.626Z daemon INFO time="2024-02-09T21:39:53-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.9.0\\libraries" location=platform
time="2024-02-09T21:39:53-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\libraries" location=platform
time="2024-02-09T21:39:53-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\libraries" location=platform
time="2024-02-09T21:39:53-06:00" level=info msg="Loading libraries index file" index="C:\\Users\\georg\\AppData\\Local\\Arduino15\\library_index.json"
2024-02-10T03:39:53.631Z 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
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-02-10T03:39:54.944Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 655.9 ms [Finished 4.056 s after frontend start]
2024-02-10T03:39:54.944Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-02-10T03:39:55.088Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 134.7 ms [Finished 4.270 s after frontend start]
2024-02-10T03:39:55.304Z root INFO Deploy plugins list: 183.7 ms [Finished 6.030 s after backend start]
2024-02-10T03:39:55.510Z root WARN Frontend D.onStart took longer than the expected maximum 100 milliseconds: 371.6 ms [Finished 4.767 s after frontend start]
2024-02-10T03:39:55.776Z daemon INFO time="2024-02-09T21:39:55-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-02-10T03:39:55.783Z daemon INFO time="2024-02-09T21:39:55-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\OneDrive\\Documents\\Arduino\\libraries" location=user
2024-02-10T03:39:57.914Z 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-02-10T03:39:57.917Z daemon INFO time="2024-02-09T21:39:57-06:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-02-10T03:39:57.920Z daemon INFO time="2024-02-09T21:39:57-06:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-02-10T03:39:57.924Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2024-02-10T03:39:58.289Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Checking signature" index="C:\\Users\\georg\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\georg\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-02-10T03:39:58.292Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loading hardware from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages"
2024-02-10T03:39:58.294Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loading package STM32 from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware"
2024-02-10T03:39:58.309Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-09T21:39:58-06:00" level=info msg="Loaded platform" platform="STM32:stm32@1.9.0"
2024-02-10T03:39:58.309Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\STM32\\tools"
time="2024-02-09T21:39:58-06:00" level=info msg="Loading tools from dir: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\STM32\\tools"
2024-02-10T03:39:58.310Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="STM32:CMSIS@5.5.1"
2024-02-10T03:39:58.311Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="STM32:STM32Tools@1.4.0"
2024-02-10T03:39:58.312Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="STM32:xpack-arm-none-eabi-gcc@9.2.1-1.1"
2024-02-10T03:39:58.317Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loading package SparkFun from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\SparkFun\\hardware"
2024-02-10T03:39:58.321Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
2024-02-10T03:39:58.322Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded platform" platform="SparkFun:avr@1.1.13"
2024-02-10T03:39:58.326Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-09T21:39:58-06:00" level=info msg="Loaded platform" platform="SparkFun:esp32@1.0.0"
2024-02-10T03:39:58.332Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loading package arduino from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware"
2024-02-10T03:39:58.338Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-09T21:39:58-06:00" level=info msg="Loaded platform" platform="arduino:avr@1.8.4"
2024-02-10T03:39:58.339Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2024-02-09T21:39:58-06:00" level=info msg="Loading tools from dir: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
2024-02-10T03:39:58.340Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="arduino:arduinoOTA@1.3.0"
2024-02-10T03:39:58.342Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
2024-02-10T03:39:58.343Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="arduino:avrdude@6.3.0-arduino17"
2024-02-10T03:39:58.345Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loading package attiny from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\attiny\\hardware"
2024-02-10T03:39:58.352Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
2024-02-10T03:39:58.352Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded platform" platform="attiny:avr@1.0.2"
2024-02-10T03:39:58.355Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loading package builtin from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-02-10T03:39:58.356Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-02-10T03:39:58.358Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loading tools from dir: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-02-10T03:39:58.359Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-02-10T03:39:58.360Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-02-10T03:39:58.365Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-02-10T03:39:58.367Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
2024-02-10T03:39:58.368Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"
2024-02-10T03:39:58.370Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loading package esp32 from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware"
2024-02-10T03:39:58.400Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-09T21:39:58-06:00" level=info msg="Loaded platform" platform="esp32:esp32@1.0.5"
2024-02-10T03:39:58.400Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\esp32\\tools"
time="2024-02-09T21:39:58-06:00" level=info msg="Loading tools from dir: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\esp32\\tools"
2024-02-10T03:39:58.402Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="esp32:esptool_py@3.0.0"
2024-02-10T03:39:58.403Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="esp32:mkspiffs@0.2.3"
2024-02-10T03:39:58.404Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32-elf-gcc@1.22.0-97-gc752ad5-5.2.0"
2024-02-10T03:39:58.406Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loading package teensy from: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware"
2024-02-10T03:39:58.416Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding monitor tool" protocol=teensy tool="teensy:teensy-monitor"
2024-02-10T03:39:58.416Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded platform" platform="teensy:avr@1.58.1"
time="2024-02-09T21:39:58-06:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\teensy\\tools"
time="2024-02-09T21:39:58-06:00" level=info msg="Loading tools from dir: C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\teensy\\tools"
2024-02-10T03:39:58.419Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="teensy:teensy-compile@11.3.1"
2024-02-10T03:39:58.419Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loaded tool" tool="teensy:teensy-tools@1.58.0"
2024-02-10T03:39:58.423Z 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-02-10T03:39:58.432Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\libraries" location=platform
2024-02-10T03:39:58.439Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\SparkFun\\hardware\\avr\\1.1.13\\libraries" location=platform
2024-02-10T03:39:58.447Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\SparkFun\\hardware\\esp32\\1.0.0\\libraries" location=platform
2024-02-10T03:39:58.455Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\libraries" location=platform
2024-02-10T03:39:58.465Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.5\\libraries" location=platform
2024-02-10T03:39:58.473Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\packages\\STM32\\hardware\\stm32\\1.9.0\\libraries" location=platform
2024-02-10T03:39:58.481Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Loading libraries index file" index="C:\\Users\\georg\\AppData\\Local\\Arduino15\\library_index.json"
2024-02-10T03:39:58.805Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-02-10T03:39:58.808Z daemon INFO time="2024-02-09T21:39:58-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\georg\\OneDrive\\Documents\\Arduino\\libraries" location=user
2024-02-10T03:40:00.857Z 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-02-10T03:40:00.857Z 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:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:622866
    at E.evaluateErrorStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:622882)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async s.<anonymous> (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:622552)