I don't have anything inside of the packages folder (\Arduino15\packages\
). Here is my error:
Arduino IDE 2.3.2
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-09-04 12:49:01.847 Arduino IDE[54599:131307] 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.2" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.35.3" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-02-20T09:53:59.281Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.2","cliVersion":"0.35.3","buildDate":"2024-02-20T09:53:59.281Z"}
Starting backend process. PID: 54606
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///Users/ugs296/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-09-04T17:49:02.093Z root INFO Backend Object.initialize: 1.6 ms [Finished 0.204 s after backend start]
2024-09-04T17:49:02.093Z root INFO Backend Object.configure: 1.2 ms [Finished 0.204 s after backend start]
2024-09-04T17:49:02.093Z root INFO Backend s.onStart: 0.6 ms [Finished 0.204 s after backend start]
2024-09-04T17:49:02.094Z root INFO Backend s.configure: 0.1 ms [Finished 0.214 s after backend start]
2024-09-04T17:49:02.094Z root INFO Backend d.onStart: 0.1 ms [Finished 0.214 s after backend start]
2024-09-04T17:49:02.094Z root INFO Backend d.configure: 0.0 ms [Finished 0.214 s after backend start]
2024-09-04T17:49:02.094Z root INFO Backend d.initialize: 10.1 ms [Finished 0.214 s after backend start]
2024-09-04T17:49:02.094Z root INFO Backend c.onStart: 0.1 ms [Finished 0.214 s after backend start]
2024-09-04T17:49:02.095Z root INFO Backend a.configure: 0.6 ms [Finished 0.215 s after backend start]
2024-09-04T17:49:02.095Z config INFO >>> Initializing CLI configuration...
2024-09-04T17:49:02.095Z root INFO Backend c.initialize: 0.5 ms [Finished 0.215 s after backend start]
2024-09-04T17:49:02.095Z root INFO Backend R.onStart: 0.3 ms [Finished 0.215 s after backend start]
2024-09-04T17:49:02.095Z config INFO Loading CLI configuration from /Users/ugs296/.arduinoIDE/arduino-cli.yaml...
2024-09-04T17:49:02.096Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli...
2024-09-04T17:49:02.096Z root INFO Backend a.initialize: 0.2 ms [Finished 0.215 s after backend start]
2024-09-04T17:49:02.096Z root INFO Backend w.onStart: 0.4 ms [Finished 0.215 s after backend start]
2024-09-04T17:49:02.096Z root INFO Backend r.configure: 0.6 ms [Finished 0.216 s after backend start]
2024-09-04T17:49:02.096Z discovery-log INFO start
2024-09-04T17:49:02.096Z discovery-log INFO start new deferred
2024-09-04T17:49:02.096Z root INFO Backend d.initialize: 0.1 ms [Finished 0.216 s after backend start]
2024-09-04T17:49:02.096Z root INFO Backend y.onStart: 0.6 ms [Finished 0.216 s after backend start]
2024-09-04T17:49:02.096Z root INFO Backend r.configure: 0.5 ms [Finished 0.216 s after backend start]
2024-09-04T17:49:02.096Z root INFO Backend a.onStart: 0.2 ms [Finished 0.217 s after backend start]
2024-09-04T17:49:02.096Z root INFO Backend h.configure: 0.2 ms [Finished 0.217 s after backend start]
2024-09-04T17:49:02.096Z root INFO Backend s.configure: 0.0 ms [Finished 0.217 s after backend start]
2024-09-04T17:49:02.096Z root INFO Backend l.configure: 0.0 ms [Finished 0.217 s after backend start]
2024-09-04T17:49:02.097Z root INFO Theia app listening on http://127.0.0.1:50281.
2024-09-04T17:49:02.097Z root INFO Finished starting backend application: 1.0 ms [Finished 0.218 s after backend start]
2024-09-04T17:49:02.101Z root WARN The local plugin referenced by local-dir:/Users/ugs296/.arduinoIDE/plugins does not exist.
2024-09-04T17:49:02.101Z root WARN The local plugin referenced by local-dir:/Users/ugs296/.arduinoIDE/extensions does not exist.
2024-09-04T17:49:02.104Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"/Users/ugs296/Library/Arduino15","downloads":"/Users/ugs296/Library/Arduino15/staging","user":"/Users/ugs296/Documents/Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2024-09-04T17:49:02.104Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-09-04T17:49:02.104Z config INFO Loaded the CLI configuration.
2024-09-04T17:49:02.106Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///Users/ugs296/Library/Arduino15","sketchDirUri":"file:///Users/ugs296/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-09-04T17:49:02.106Z config INFO Validating the CLI configuration...
2024-09-04T17:49:02.107Z config INFO The CLI config is valid.
2024-09-04T17:49:02.107Z config INFO <<< Initialized the CLI configuration.
2024-09-04T17:49:02.116Z root INFO Resolve plugins list: 20.2 ms [Finished 0.236 s after backend start]
2024-09-04T17:49:02.198Z daemon INFO time="2024-09-04T12:49:02-05:00" level=info msg="Using config file: /Users/ugs296/.arduinoIDE/arduino-cli.yaml"
time="2024-09-04T12:49:02-05:00" level=info msg="arduino-cli version 0.35.3"
time="2024-09-04T12:49:02-05:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:50282
{"IP":"127.0.0.1","Port":"50282"}
2024-09-04T17:49:02.198Z daemon INFO Daemon is running.
2024-09-04T17:49:02.222Z daemon INFO time="2024-09-04T12:49:02-05:00" level=info msg="Updating libraries index"
time="2024-09-04T12:49:02-05:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-09-04T17:49:02.432Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": read tcp 10.219.0.199:50285->104.18.10.21:443: read: connection reset by peer
2024-09-04T17:49:02.432Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file /Users/ugs296/Library/Arduino15/package_index.json: open /Users/ugs296/Library/Arduino15/package_index.json: no such file or directory
2024-09-04T17:49:02.432Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2024-09-04T17:49:02.432Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2024-09-04T17:49:02.432Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open /Users/ugs296/Library/Arduino15/library_index.json: no such file or directory
2024-09-04T17:49:02.434Z 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: Loading index file: loading json index file /Users/ugs296/Library/Arduino15/package_index.json: open /Users/ugs296/Library/Arduino15/package_index.json: no such file or directory
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open /Users/ugs296/Library/Arduino15/library_index.json: no such file or directory
2024-09-04T17:49:02.434Z daemon INFO time="2024-09-04T12:49:02-05:00" level=info msg="Loading hardware from: /Users/ugs296/Library/Arduino15/packages"
time="2024-09-04T12:49:02-05:00" level=info msg="Loading libraries index file" index=/Users/ugs296/Library/Arduino15/library_index.json
time="2024-09-04T12:49:02-05:00" level=info msg="Adding libraries dir" dir=/Users/ugs296/Library/Arduino15/libraries location=ide
time="2024-09-04T12:49:02-05:00" level=info msg="Adding libraries dir" dir=/Users/ugs296/Documents/Arduino/libraries location=user
2024-09-04T17:49:02.434Z daemon INFO time="2024-09-04T12:49:02-05:00" level=info msg="Updating libraries index"
2024-09-04T17:49:02.434Z daemon INFO time="2024-09-04T12:49:02-05:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-09-04T17:49:02.435Z daemon INFO time="2024-09-04T12:49:02-05:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2024-09-04T12:49:02-05:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-09-04T17:49:02.435Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2
2024-09-04T17:49:02.435Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2
2024-09-04T17:49:02.500Z root INFO Deploy plugins list: 20.2 ms [Finished 0.621 s after backend start]
2024-09-04T17:49:02.501Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Some indexes could not be updated.
at t.callErrorFromStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:763317)
at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:790934)
at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:783958)
at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:870080
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at s.makeServerStreamRequest (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:790701)
at s.updateIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:854977)
at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:623589
at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:623937
at new Promise (<anonymous>)
at E.doUpdateIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:623916)
at E.updatePlatformIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:623561)
at E.updateIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:622929)
at E.initInstanceWithFallback (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:621173)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-09-04T17:49:02.502Z daemon INFO time="2024-09-04T12:49:02-05:00" level=info msg="Updating libraries index"
2024-09-04T17:49:02.502Z daemon INFO time="2024-09-04T12:49:02-05:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-09-04T17:49:02.571Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": read tcp 10.219.0.199:50288->104.18.10.21:443: read: connection reset by peer
2024-09-04T17:49:02.571Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file /Users/ugs296/Library/Arduino15/package_index.json: open /Users/ugs296/Library/Arduino15/package_index.json: no such file or directory
2024-09-04T17:49:02.571Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2024-09-04T17:49:02.571Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2024-09-04T17:49:02.571Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open /Users/ugs296/Library/Arduino15/library_index.json: no such file or directory
2024-09-04T17:49:02.571Z daemon INFO time="2024-09-04T12:49:02-05:00" level=info msg="Loading hardware from: /Users/ugs296/Library/Arduino15/packages"
time="2024-09-04T12:49:02-05:00" level=info msg="Loading libraries index file" index=/Users/ugs296/Library/Arduino15/library_index.json
time="2024-09-04T12:49:02-05:00" level=info msg="Adding libraries dir" dir=/Users/ugs296/Library/Arduino15/libraries location=ide
time="2024-09-04T12:49:02-05:00" level=info msg="Adding libraries dir" dir=/Users/ugs296/Documents/Arduino/libraries location=user
2024-09-04T17:49:02.572Z 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: Loading index file: loading json index file /Users/ugs296/Library/Arduino15/package_index.json: open /Users/ugs296/Library/Arduino15/package_index.json: no such file or directory
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open /Users/ugs296/Library/Arduino15/library_index.json: no such file or directory
2024-09-04T17:49:02.572Z 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: Loading index file: loading json index file /Users/ugs296/Library/Arduino15/package_index.json: open /Users/ugs296/Library/Arduino15/package_index.json: no such file or directory
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open /Users/ugs296/Library/Arduino15/library_index.json: no such file or directory
at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:622733
at E.evaluateErrorStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:622749)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async a.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:622419)
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-09-04T17:49:03.424Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 144.0 ms [Finished 1.077 s after frontend start]
2024-09-04T17:49:03.459Z root WARN A command editor.action.toggleStickyScroll is already registered.