Can't open Arduino IDE 2.3.3 on Mac OS

Hello!

I've been working with Arduino 1.8.16 for many years now and I'm long overdue for an update. I've tried multiple times and haven't been able to get it to work.

I've downloaded IDE 2.2.3 from the Arduino site. When I try opening the new app, the Arduino window opens and hangs (forever?) on the pulsing Arduino logo. The IDE never fully opens.

Is it a problem that I have the older version of the IDE on my computer too?

I'm using a MacBook Pro and the OS is Sonoma 14.4.1.

Any pointers would be appreciated!

Hi @makin-stuff. I'm going to ask you to provide some additional information that might help us to identify the problem.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Close all Arduino IDE windows if the IDE is already running.
  2. Open macOS Launchpad.
  3. Type terminal in the "Search" field.
  4. Click on the "Terminal" icon.
    A "zsh" window will open.
  5. Type the following command in the zsh window:
    "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
    
  6. Press the Enter key.
  7. Wait until you are sure the IDE startup has gone into the hang state
    (as indicated by no additional output being printed to the Terminal window).
  8. Switch back to the Terminal window if the Arduino IDE window took the focus.
  9. Press the Command+A keyboard shortcut.
    This will select all the text in the Terminal window.
  10. Press the Command+C keyboard shortcut.
    This will copy the selected text to the clipboard.
  11. Open a forum reply here by clicking the "Reply" button.
  12. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
  13. Press the Command+V keyboard shortcut.
    This will paste the output into the code block.
  14. Move the cursor outside of the code block markup before you add any additional text to your reply.
  15. Click the "Reply" button to post the output.

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

Thanks so much @ptillisch! Here's my terminal output

Last login: Thu Nov  7 19:52:22 on ttys000
Your user’s .npmrc file (${HOME}/.npmrc)
has a `globalconfig` and/or a `prefix` setting, which are incompatible with nvm.
Run `nvm use --delete-prefix v18.18.2 --silent` to unset it.

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
Priyankas-MacBook-Pro:~ p-makin$ "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
Arduino IDE 2.3.3
Checking for frontend application configuration customizations. Module path: /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/electron-main.js, destination 'package.json': /Applications/Arduino IDE.app/Contents/Resources/app/package.json
2024-11-08 23:02:07.137 Arduino IDE[65008:1171048] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
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:37:41.856Z" (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:37:41.856Z"}
Starting backend process. PID: 65297
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///Users/p-makin/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-11-09T06:02:07.724Z root INFO Backend Object.initialize: 3.1 ms [Finished 0.492 s after backend start]
2024-11-09T06:02:07.724Z root INFO Backend Object.configure: 2.4 ms [Finished 0.492 s after backend start]
2024-11-09T06:02:07.724Z root INFO Backend a.onStart: 1.4 ms [Finished 0.492 s after backend start]
2024-11-09T06:02:07.725Z root INFO Backend a.configure: 0.2 ms [Finished 0.514 s after backend start]
2024-11-09T06:02:07.726Z root INFO Backend d.onStart: 0.2 ms [Finished 0.514 s after backend start]
2024-11-09T06:02:07.727Z root INFO Backend d.configure: 0.1 ms [Finished 0.514 s after backend start]
2024-11-09T06:02:07.727Z root INFO Backend d.initialize: 22.4 ms [Finished 0.514 s after backend start]
2024-11-09T06:02:07.727Z root INFO Backend c.onStart: 0.2 ms [Finished 0.514 s after backend start]
2024-11-09T06:02:07.728Z root INFO Backend s.configure: 1.0 ms [Finished 0.515 s after backend start]
2024-11-09T06:02:07.729Z config INFO >>> Initializing CLI configuration...
2024-11-09T06:02:07.729Z root INFO Backend c.initialize: 0.5 ms [Finished 0.516 s after backend start]
2024-11-09T06:02:07.729Z root INFO Backend x.onStart: 0.9 ms [Finished 0.516 s after backend start]
2024-11-09T06:02:07.729Z config INFO Loading CLI configuration from /Users/p-makin/.arduinoIDE/arduino-cli.yaml...
2024-11-09T06:02:07.730Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli...
2024-11-09T06:02:07.730Z root INFO Backend s.initialize: 0.5 ms [Finished 0.517 s after backend start]
2024-11-09T06:02:07.730Z root INFO Backend w.onStart: 1.0 ms [Finished 0.518 s after backend start]
2024-11-09T06:02:07.730Z root INFO Backend r.configure: 1.6 ms [Finished 0.518 s after backend start]
2024-11-09T06:02:07.730Z discovery-log INFO start
2024-11-09T06:02:07.730Z discovery-log INFO start new deferred
2024-11-09T06:02:07.730Z root INFO Backend d.initialize: 0.4 ms [Finished 0.518 s after backend start]
2024-11-09T06:02:07.730Z root INFO Backend y.onStart: 1.4 ms [Finished 0.520 s after backend start]
2024-11-09T06:02:07.730Z root INFO Backend r.configure: 1.1 ms [Finished 0.520 s after backend start]
2024-11-09T06:02:07.730Z root INFO Backend s.onStart: 0.4 ms [Finished 0.521 s after backend start]
2024-11-09T06:02:07.730Z root INFO Backend h.configure: 0.4 ms [Finished 0.521 s after backend start]
2024-11-09T06:02:07.730Z root INFO Backend a.configure: 0.2 ms [Finished 0.521 s after backend start]
2024-11-09T06:02:07.730Z root INFO Backend l.configure: 0.1 ms [Finished 0.521 s after backend start]
2024-11-09T06:02:07.732Z root INFO Theia app listening on http://127.0.0.1:58698.
2024-11-09T06:02:07.733Z root INFO Finished starting backend application: 2.5 ms [Finished 0.523 s after backend start]
2024-11-09T06:02:07.747Z root WARN The local plugin referenced by local-dir:/Users/p-makin/.arduinoIDE/plugins does not exist.
2024-11-09T06:02:07.747Z root WARN The local plugin referenced by local-dir:/Users/p-makin/.arduinoIDE/extensions does not exist.
2024-11-09T06:02:07.755Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"/Users/p-makin/Library/Arduino15","downloads":"/Users/p-makin/Library/Arduino15/staging","user":"/Users/p-makin/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-11-09T06:02:07.755Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-11-09T06:02:07.755Z config INFO Loaded the CLI configuration.
2024-11-09T06:02:07.758Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///Users/p-makin/Library/Arduino15","sketchDirUri":"file:///Users/p-makin/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-11-09T06:02:07.758Z config INFO Validating the CLI configuration...
2024-11-09T06:02:07.775Z root INFO Resolve plugins list: 45.9 ms [Finished 0.566 s after backend start]
Restoring workspace roots: /Users/p-makin/Documents/NYU/School/Spring_2024/Designing_Your_Voice/Week2/01waveform/01waveform.ino
isTempSketch: false. Input was /Users/p-makin/Documents/NYU/School/Spring_2024/Designing_Your_Voice/Week2/01waveform/01waveform.ino
2024-11-09T06:02:07.793Z config INFO The CLI config is valid.
2024-11-09T06:02:07.793Z config INFO <<< Initialized the CLI configuration.
2024-11-09T06:02:07.793Z daemon INFO time="2024-11-08T23:02:07-07:00" level=info msg="arduino-cli version 1.0.4"
time="2024-11-08T23:02:07-07:00" level=info msg="Using config file: /Users/p-makin/.arduinoIDE/arduino-cli.yaml"
time="2024-11-08T23:02:07-07:00" level=info msg="Executing `arduino-cli daemon`"
2024-11-09T06:02:07.799Z daemon INFO Daemon is now listening on 127.0.0.1:58699
{"IP":"127.0.0.1","Port":"58699"}
2024-11-09T06:02:07.799Z daemon INFO Daemon is running.
2024-11-09T06:02:07.866Z daemon INFO time="2024-11-08T23:02:07-07:00" level=info msg="Checking signature" index=/Users/p-makin/Library/Arduino15/package_index.json signatureFile=/Users/p-makin/Library/Arduino15/package_index.json.sig trusted=true
time="2024-11-08T23:02:07-07:00" level=info msg="Loading hardware from: /Users/p-makin/Library/Arduino15/packages"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading package ATTinyCore from: /Users/p-makin/Library/Arduino15/packages/ATTinyCore/hardware"
time="2024-11-08T23:02:07-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded platform" platform="ATTinyCore:avr@1.3.3"
time="2024-11-08T23:02:07-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/ATTinyCore/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/ATTinyCore/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading package SparkFun from: /Users/p-makin/Library/Arduino15/packages/SparkFun/hardware"
time="2024-11-08T23:02:07-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded platform" platform="SparkFun:apollo3@1.2.1"
time="2024-11-08T23:02:07-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded platform" platform="SparkFun:avr@1.1.5"
time="2024-11-08T23:02:07-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded platform" platform="SparkFun:samd@1.7.5"
time="2024-11-08T23:02:07-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded platform" platform="SparkFun:stm32@2.0.0"
time="2024-11-08T23:02:07-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/SparkFun/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/SparkFun/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="SparkFun:CMSIS@5.7.0"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="SparkFun:STM32Tools@2.0.0"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="SparkFun:arm-none-eabi-gcc@8-2018-q4-major"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="SparkFun:xpack-arm-none-eabi-gcc@9.3.1-1.3"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading package adafruit from: /Users/p-makin/Library/Arduino15/packages/adafruit/hardware"
time="2024-11-08T23:02:07-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded platform" platform="adafruit:nrf52@0.20.0"
time="2024-11-08T23:02:07-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/adafruit/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/adafruit/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="adafruit:nrfjprog@9.4.0"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading package arduino from: /Users/p-makin/Library/Arduino15/packages/arduino/hardware"
time="2024-11-08T23:02:07-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded platform" platform="arduino:mbed_nano@3.1.1"
time="2024-11-08T23:02:07-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded platform" platform="arduino:mbed_rp2040@2.5.2"
time="2024-11-08T23:02:07-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded platform" platform="arduino:samd@1.8.13"
time="2024-11-08T23:02:07-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/arduino/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/arduino/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:CMSIS@4.5.0"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:CMSIS-Atmel@1.2.0"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:arduinoOTA@1.2.1"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:arm-none-eabi-gcc@4.8.3-2014q1"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:arm-none-eabi-gcc@7-2017q4"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino5"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:avrdude@6.3.0-arduino17"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:bossac@1.7.0-arduino3"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:bossac@1.8.0-48-gb176eee"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:bossac@1.9.1-arduino2"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:dfu-util@0.10.0-arduino1"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:imgtool@1.8.0-arduino"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:openocd@0.10.0-arduino7"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:openocd@0.11.0-arduino2"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:openocd@0.9.0-arduino"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="arduino:rp2040tools@1.0.2"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading package builtin from: /Users/p-makin/Library/Arduino15/packages/builtin"
time="2024-11-08T23:02:07-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/builtin/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/builtin/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading package esp32 from: /Users/p-makin/Library/Arduino15/packages/esp32/hardware"
time="2024-11-08T23:02:07-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded platform" platform="esp32:esp32@1.0.4"
time="2024-11-08T23:02:07-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/esp32/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/esp32/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="esp32:esptool_py@2.6.1"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="esp32:mkspiffs@0.2.3"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32-elf-gcc@1.22.0-80-g6c4433a-5.2.0"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading package teensy from: /Users/p-makin/Library/Arduino15/packages/teensy/hardware"
2024-11-09T06:02:07.866Z daemon INFO time="2024-11-08T23:02:07-07:00" level=info msg="Adding monitor tool" protocol=teensy tool="teensy:teensy-monitor"
time="2024-11-08T23:02:07-07:00" level=info msg="Loaded platform" platform="teensy:avr@1.58.1"
time="2024-11-08T23:02:07-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/teensy/tools"
time="2024-11-08T23:02:07-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/teensy/tools"
2024-11-09T06:02:07.866Z daemon INFO time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="teensy:teensy-compile@11.3.1"
2024-11-09T06:02:07.866Z daemon INFO time="2024-11-08T23:02:07-07:00" level=info msg="Loaded tool" tool="teensy:teensy-tools@1.58.0"
2024-11-09T06:02:07.874Z 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-11-09T06:02:07.875Z daemon INFO time="2024-11-08T23:02:07-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:07-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/SparkFun/hardware/apollo3/1.2.1/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:07-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.5/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:07-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/SparkFun/hardware/samd/1.7.5/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:07-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/SparkFun/hardware/stm32/2.0.0/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:07-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/arduino/hardware/mbed_rp2040/2.5.2/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:07-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/arduino/hardware/samd/1.8.13/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:07-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/arduino/hardware/mbed_nano/3.1.1/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:07-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/teensy/hardware/avr/1.58.1/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:07-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/ATTinyCore/hardware/avr/1.3.3/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:07-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/adafruit/hardware/nrf52/0.20.0/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:07-07:00" level=info msg="Loading libraries index file" index=/Users/p-makin/Library/Arduino15/library_index.json
2024-11-09T06:02:08.074Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/libraries isSingleLibrary=false location=ide
time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Documents/Arduino/libraries isSingleLibrary=false location=user
2024-11-09T06:02:08.415Z 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-11-09T06:02:08.417Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2024-11-08T23:02:08-07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-11-09T06:02:08.418Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2024-11-09T06:02:08.522Z root INFO Deploy plugins list: 45.9 ms [Finished 1.313 s after backend start]
2024-11-09T06:02:08.652Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Checking signature" index=/Users/p-makin/Library/Arduino15/package_index.json signatureFile=/Users/p-makin/Library/Arduino15/package_index.json.sig trusted=true
2024-11-09T06:02:08.653Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loading hardware from: /Users/p-makin/Library/Arduino15/packages"
2024-11-09T06:02:08.653Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loading package ATTinyCore from: /Users/p-makin/Library/Arduino15/packages/ATTinyCore/hardware"
2024-11-09T06:02:08.656Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded platform" platform="ATTinyCore:avr@1.3.3"
2024-11-09T06:02:08.656Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/ATTinyCore/tools"
time="2024-11-08T23:02:08-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/ATTinyCore/tools"
2024-11-09T06:02:08.656Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loading package SparkFun from: /Users/p-makin/Library/Arduino15/packages/SparkFun/hardware"
2024-11-09T06:02:08.657Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
2024-11-09T06:02:08.657Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded platform" platform="SparkFun:apollo3@1.2.1"
2024-11-09T06:02:08.657Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded platform" platform="SparkFun:avr@1.1.5"
2024-11-09T06:02:08.658Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded platform" platform="SparkFun:samd@1.7.5"
2024-11-09T06:02:08.659Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded platform" platform="SparkFun:stm32@2.0.0"
2024-11-09T06:02:08.659Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/SparkFun/tools"
time="2024-11-08T23:02:08-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/SparkFun/tools"
2024-11-09T06:02:08.659Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="SparkFun:CMSIS@5.7.0"
2024-11-09T06:02:08.659Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="SparkFun:STM32Tools@2.0.0"
2024-11-09T06:02:08.659Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="SparkFun:arm-none-eabi-gcc@8-2018-q4-major"
2024-11-09T06:02:08.660Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="SparkFun:xpack-arm-none-eabi-gcc@9.3.1-1.3"
2024-11-09T06:02:08.660Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loading package adafruit from: /Users/p-makin/Library/Arduino15/packages/adafruit/hardware"
2024-11-09T06:02:08.661Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded platform" platform="adafruit:nrf52@0.20.0"
2024-11-09T06:02:08.661Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/adafruit/tools"
time="2024-11-08T23:02:08-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/adafruit/tools"
2024-11-09T06:02:08.661Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="adafruit:nrfjprog@9.4.0"
time="2024-11-08T23:02:08-07:00" level=info msg="Loading package arduino from: /Users/p-makin/Library/Arduino15/packages/arduino/hardware"
2024-11-09T06:02:08.662Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded platform" platform="arduino:mbed_nano@3.1.1"
2024-11-09T06:02:08.662Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded platform" platform="arduino:mbed_rp2040@2.5.2"
2024-11-09T06:02:08.663Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded platform" platform="arduino:samd@1.8.13"
2024-11-09T06:02:08.663Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/arduino/tools"
time="2024-11-08T23:02:08-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/arduino/tools"
2024-11-09T06:02:08.663Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:CMSIS@4.5.0"
2024-11-09T06:02:08.663Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:CMSIS-Atmel@1.2.0"
2024-11-09T06:02:08.664Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:arduinoOTA@1.2.1"
2024-11-09T06:02:08.664Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:arm-none-eabi-gcc@4.8.3-2014q1"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:arm-none-eabi-gcc@7-2017q4"
2024-11-09T06:02:08.664Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino5"
2024-11-09T06:02:08.664Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:avrdude@6.3.0-arduino17"
2024-11-09T06:02:08.664Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:bossac@1.7.0-arduino3"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:bossac@1.8.0-48-gb176eee"
2024-11-09T06:02:08.664Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:bossac@1.9.1-arduino2"
2024-11-09T06:02:08.664Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:dfu-util@0.10.0-arduino1"
2024-11-09T06:02:08.665Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:imgtool@1.8.0-arduino"
2024-11-09T06:02:08.665Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:openocd@0.10.0-arduino7"
2024-11-09T06:02:08.665Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:openocd@0.11.0-arduino2"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:openocd@0.9.0-arduino"
2024-11-09T06:02:08.665Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="arduino:rp2040tools@1.0.2"
2024-11-09T06:02:08.665Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loading package builtin from: /Users/p-makin/Library/Arduino15/packages/builtin"
2024-11-09T06:02:08.665Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/builtin/tools"
time="2024-11-08T23:02:08-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/builtin/tools"
2024-11-09T06:02:08.665Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-11-09T06:02:08.665Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-11-09T06:02:08.665Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-11-09T06:02:08.665Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
2024-11-09T06:02:08.666Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"
2024-11-09T06:02:08.666Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
time="2024-11-08T23:02:08-07:00" level=info msg="Loading package esp32 from: /Users/p-makin/Library/Arduino15/packages/esp32/hardware"
2024-11-09T06:02:08.671Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded platform" platform="esp32:esp32@1.0.4"
2024-11-09T06:02:08.671Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/esp32/tools"
time="2024-11-08T23:02:08-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/esp32/tools"
2024-11-09T06:02:08.671Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="esp32:esptool_py@2.6.1"
2024-11-09T06:02:08.671Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="esp32:mkspiffs@0.2.3"
2024-11-09T06:02:08.671Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32-elf-gcc@1.22.0-80-g6c4433a-5.2.0"
2024-11-09T06:02:08.671Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loading package teensy from: /Users/p-makin/Library/Arduino15/packages/teensy/hardware"
2024-11-09T06:02:08.673Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding monitor tool" protocol=teensy tool="teensy:teensy-monitor"
time="2024-11-08T23:02:08-07:00" level=info msg="Loaded platform" platform="teensy:avr@1.58.1"
2024-11-09T06:02:08.673Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Checking existence of 'tools' path: /Users/p-makin/Library/Arduino15/packages/teensy/tools"
time="2024-11-08T23:02:08-07:00" level=info msg="Loading tools from dir: /Users/p-makin/Library/Arduino15/packages/teensy/tools"
2024-11-09T06:02:08.673Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="teensy:teensy-compile@11.3.1"
2024-11-09T06:02:08.673Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Loaded tool" tool="teensy:teensy-tools@1.58.0"
2024-11-09T06:02:08.676Z 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-11-09T06:02:08.676Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/ATTinyCore/hardware/avr/1.3.3/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/arduino/hardware/mbed_nano/3.1.1/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/arduino/hardware/mbed_rp2040/2.5.2/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/arduino/hardware/samd/1.8.13/libraries isSingleLibrary=false location=platform
2024-11-09T06:02:08.676Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/adafruit/hardware/nrf52/0.20.0/libraries isSingleLibrary=false location=platform
2024-11-09T06:02:08.676Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/SparkFun/hardware/samd/1.7.5/libraries isSingleLibrary=false location=platform
2024-11-09T06:02:08.677Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/SparkFun/hardware/stm32/2.0.0/libraries isSingleLibrary=false location=platform
2024-11-09T06:02:08.677Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/SparkFun/hardware/apollo3/1.2.1/libraries isSingleLibrary=false location=platform
2024-11-09T06:02:08.677Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.5/libraries isSingleLibrary=false location=platform
2024-11-09T06:02:08.677Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/teensy/hardware/avr/1.58.1/libraries isSingleLibrary=false location=platform
2024-11-09T06:02:08.678Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries isSingleLibrary=false location=platform
time="2024-11-08T23:02:08-07:00" level=info msg="Loading libraries index file" index=/Users/p-makin/Library/Arduino15/library_index.json
2024-11-09T06:02:08.823Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Library/Arduino15/libraries isSingleLibrary=false location=ide
2024-11-09T06:02:08.823Z daemon INFO time="2024-11-08T23:02:08-07:00" level=info msg="Adding libraries dir" dir=/Users/p-makin/Documents/Arduino/libraries isSingleLibrary=false location=user
Opening channel for service path '/services/electron-window'.
2024-11-09T06:02:09.125Z 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-11-09T06:02:09.125Z 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 /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:770340
    at v.evaluateErrorStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:770356)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async s.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:770026)
Opening channel for service path '/services/ide-updater'.
2024-11-09T06:02:09.352Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 183.2 ms [Finished 1.512 s after frontend start]
2024-11-09T06:02:09.395Z root WARN A command editor.action.toggleStickyScroll is already registered.
[65008:1108/230212.266917:ERROR:trust_store_mac.cc(846)] Error parsing certificate:
ERROR: Failed parsing extensions


This error 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:
    C:\Users\Hank\AppData\Local\Arduino15\packages\teensy\
    
    :warning: Please be very careful when deleting things from your computer. When in doubt, back up!
    :exclamation: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".

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.

Hello @ptillisch

Thanks for the trouble shooting tips! I can definitely delete the Teensy package and reinstall. However, my file path looks a little different than yours:

/Users/p-makin/Library/Arduino15/packages/teensy

Is that a problem?

Thanks,
Priyanka

No. I copy/pasted my response from another forum thread where I had supported another user experiencing this problem. I wasn't careful enough to notice that the response contained a path that was specific to the other user's system. I apologize for any confusion caused by my sloppy work.

Great job of finding the correct path on your computer!

Hello!

Deleting the Teensy folder has worked for me, the new IDE opens. I've even uploaded Blink and other code I've written to my Teensy 4.1, can see prints in the serial monitor! Woo hoo! Thanks so much for your help.

So, now that IDE 2.2.3 is working for me, should I delete the older version off of my computer? Will I have to reinstall boards and libraries if I do this?

Thanks for your help!
Priyanka

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

It is not required. You can have both versions installed at the same time without it causing any problems.

But if you don't plan to use Arduino IDE 1.8.16 anymore then there is no reason to keep it around.

No. They are installed under folders separate from the Arduino IDE application. So you won't lose anything if you delete Arduino IDE 1.8.16.

Thanks for everything! :slight_smile:
Priyanka

1 Like