Arduino v 2.3.4 for os x mac M1 just stuck on logo

Today i installed arduino 2.3.4 on os x M1 but it just stuck on the logo. there is a message when I type di terminal "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE" . Anyone please tell Me how to make arduino 2.3.4 work. Thanks

Last login: Tue Mar  4 20:00:48 on ttys000
macbookpro@MacBook-Pro ~ % "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
Arduino IDE 2.3.4
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
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.4" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.1.1" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-12-03T09:58:49.900Z" (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.4","cliVersion":"1.1.1","buildDate":"2024-12-03T09:58:49.900Z"}
Starting backend process. PID: 1782
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///Users/macbookpro/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2025-03-04T13:08:51.764Z root INFO Backend Object.initialize: 2.6 ms [Finished 0.426 s after backend start]
2025-03-04T13:08:51.764Z root INFO Backend Object.configure: 2.0 ms [Finished 0.426 s after backend start]
2025-03-04T13:08:51.764Z root INFO Backend s.onStart: 1.0 ms [Finished 0.426 s after backend start]
2025-03-04T13:08:51.765Z root INFO Backend s.configure: 0.2 ms [Finished 0.445 s after backend start]
2025-03-04T13:08:51.765Z root INFO Backend d.onStart: 0.1 ms [Finished 0.445 s after backend start]
2025-03-04T13:08:51.766Z root INFO Backend d.configure: 0.1 ms [Finished 0.446 s after backend start]
2025-03-04T13:08:51.766Z root INFO Backend d.initialize: 19.9 ms [Finished 0.446 s after backend start]
2025-03-04T13:08:51.766Z root INFO Backend c.onStart: 0.2 ms [Finished 0.446 s after backend start]
2025-03-04T13:08:51.767Z root INFO Backend a.configure: 0.7 ms [Finished 0.446 s after backend start]
2025-03-04T13:08:51.768Z config INFO >>> Initializing CLI configuration...
2025-03-04T13:08:51.768Z root INFO Backend c.initialize: 0.4 ms [Finished 0.447 s after backend start]
2025-03-04T13:08:51.768Z root INFO Backend x.onStart: 0.6 ms [Finished 0.447 s after backend start]
2025-03-04T13:08:51.768Z config INFO Loading CLI configuration from /Users/macbookpro/.arduinoIDE/arduino-cli.yaml...
2025-03-04T13:08:51.768Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli...
2025-03-04T13:08:51.768Z root INFO Backend a.initialize: 0.3 ms [Finished 0.448 s after backend start]
2025-03-04T13:08:51.768Z root INFO Backend w.onStart: 0.8 ms [Finished 0.448 s after backend start]
2025-03-04T13:08:51.768Z root INFO Backend r.configure: 1.2 ms [Finished 0.448 s after backend start]
2025-03-04T13:08:51.769Z discovery-log INFO start
2025-03-04T13:08:51.769Z discovery-log INFO start new deferred
2025-03-04T13:08:51.769Z root INFO Backend d.initialize: 0.3 ms [Finished 0.449 s after backend start]
2025-03-04T13:08:51.769Z root INFO Backend y.onStart: 1.2 ms [Finished 0.450 s after backend start]
2025-03-04T13:08:51.769Z root INFO Backend r.configure: 1.0 ms [Finished 0.450 s after backend start]
2025-03-04T13:08:51.769Z root INFO Backend a.onStart: 0.3 ms [Finished 0.450 s after backend start]
2025-03-04T13:08:51.769Z root INFO Backend h.configure: 0.3 ms [Finished 0.450 s after backend start]
2025-03-04T13:08:51.769Z root INFO Backend s.configure: 0.1 ms [Finished 0.450 s after backend start]
2025-03-04T13:08:51.769Z root INFO Backend l.configure: 0.0 ms [Finished 0.450 s after backend start]
2025-03-04T13:08:51.770Z root INFO Theia app listening on http://127.0.0.1:50309.
2025-03-04T13:08:51.770Z root INFO Finished starting backend application: 1.8 ms [Finished 0.452 s after backend start]
2025-03-04T13:08:51.773Z root WARN The local plugin referenced by local-dir:/Users/macbookpro/.arduinoIDE/plugins does not exist.
2025-03-04T13:08:51.773Z root WARN The local plugin referenced by local-dir:/Users/macbookpro/.arduinoIDE/extensions does not exist.
2025-03-04T13:08:51.779Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]}}
2025-03-04T13:08:51.780Z config INFO Loading fallback CLI configuration to get 'directories.data' and 'directories.user'
2025-03-04T13:08:51.781Z root ERROR Uncaught Exception:  Error: EACCES: permission denied, unlink '/Users/macbookpro/.arduinoIDE/localization-cache/zh-tw/nls.config.zh-tw.json'
2025-03-04T13:08:51.781Z root ERROR Error: EACCES: permission denied, unlink '/Users/macbookpro/.arduinoIDE/localization-cache/zh-tw/nls.config.zh-tw.json'
2025-03-04T13:08:51.790Z daemon INFO time="2025-03-04T20:08:51+07:00" level=info msg="arduino-cli version 1.1.1"
2025-03-04T13:08:51.795Z daemon INFO time="2025-03-04T20:08:51+07:00" level=info msg="Using config file: /Users/macbookpro/.arduinoIDE/arduino-cli.yaml"
time="2025-03-04T20:08:51+07:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:50310
{"IP":"127.0.0.1","Port":"50310"}
2025-03-04T13:08:51.795Z daemon INFO Daemon is running.
2025-03-04T13:08:51.800Z config INFO Loaded fallback CLI configuration: {"directories":{"user":"/Users/macbookpro/Documents/Arduino","data":"/Users/macbookpro/Library/Arduino15"}}
2025-03-04T13:08:51.800Z config INFO Merged CLI configuration with the fallback: {"directories":{"user":"/Users/macbookpro/Documents/Arduino","data":"/Users/macbookpro/Library/Arduino15"},"board_manager":{"additional_urls":[]}}
2025-03-04T13:08:51.800Z config INFO Loaded the CLI configuration.
2025-03-04T13:08:51.802Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///Users/macbookpro/Library/Arduino15","sketchDirUri":"file:///Users/macbookpro/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2025-03-04T13:08:51.802Z config INFO Validating the CLI configuration...
2025-03-04T13:08:51.802Z config INFO The CLI config is valid.
2025-03-04T13:08:51.802Z config INFO <<< Initialized the CLI configuration.
2025-03-04T13:08:51.806Z daemon INFO time="2025-03-04T20:08:51+07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2025-03-04T13:08:51.810Z root INFO Resolve plugins list: 42.1 ms [Finished 0.492 s after backend start]
2025-03-04T13:08:51.918Z 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': Server responded with: 403 Forbidden
2025-03-04T13:08:51.918Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file /Users/macbookpro/Library/Arduino15/package_index.json: open /Users/macbookpro/Library/Arduino15/package_index.json: no such file or directory
2025-03-04T13:08:51.918Z 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
2025-03-04T13:08:51.918Z 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
2025-03-04T13:08:51.918Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open /Users/macbookpro/Library/Arduino15/library_index.json: no such file or directory
2025-03-04T13:08:51.921Z 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/macbookpro/Library/Arduino15/package_index.json: open /Users/macbookpro/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/macbookpro/Library/Arduino15/library_index.json: no such file or directory

2025-03-04T13:08:51.922Z daemon INFO time="2025-03-04T20:08:51+07:00" level=info msg="Loading hardware from: /Users/macbookpro/Library/Arduino15/packages"
time="2025-03-04T20:08:51+07:00" level=info msg="Loading libraries index file" index=/Users/macbookpro/Library/Arduino15/library_index.json
time="2025-03-04T20:08:51+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Library/Arduino15/libraries isSingleLibrary=false location=ide
time="2025-03-04T20:08:51+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Documents/Arduino/libraries isSingleLibrary=false location=user
time="2025-03-04T20:08:51+07:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2025-03-04T20:08:51+07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
time="2025-03-04T20:08:51+07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2025-03-04T13:08:51.923Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2025-03-04T13:08:51.923Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2025-03-04T13:08:52.006Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Server responded with: 403 Forbidden
    at t.callErrorFromStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:921584)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:949201)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:942225)
    at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:1028347
    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:948968)
    at s.updateLibrariesIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:1013244)
    at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:778426
    at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:778619
    at new Promise (<anonymous>)
    at v.doUpdateIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:778598)
    at v.updateLibraryIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:778398)
    at v.updateIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:777672)
    at v.initInstanceWithFallback (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:775904)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-03-04T13:08:52.009Z daemon INFO time="2025-03-04T20:08:52+07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2025-03-04T13:08:52.108Z 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': Server responded with: 403 Forbidden
2025-03-04T13:08:52.108Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file /Users/macbookpro/Library/Arduino15/package_index.json: open /Users/macbookpro/Library/Arduino15/package_index.json: no such file or directory
2025-03-04T13:08:52.109Z 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
2025-03-04T13:08:52.109Z 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
2025-03-04T13:08:52.109Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open /Users/macbookpro/Library/Arduino15/library_index.json: no such file or directory
2025-03-04T13:08:52.109Z 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/macbookpro/Library/Arduino15/package_index.json: open /Users/macbookpro/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/macbookpro/Library/Arduino15/library_index.json: no such file or directory

2025-03-04T13:08:52.109Z 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/macbookpro/Library/Arduino15/package_index.json: open /Users/macbookpro/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/macbookpro/Library/Arduino15/library_index.json: no such file or directory

    at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:777415
    at v.evaluateErrorStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:777431)
    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:777101)
2025-03-04T13:08:52.109Z daemon INFO time="2025-03-04T20:08:52+07:00" level=info msg="Loading hardware from: /Users/macbookpro/Library/Arduino15/packages"
time="2025-03-04T20:08:52+07:00" level=info msg="Loading libraries index file" index=/Users/macbookpro/Library/Arduino15/library_index.json
time="2025-03-04T20:08:52+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Library/Arduino15/libraries isSingleLibrary=false location=ide
time="2025-03-04T20:08:52+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Documents/Arduino/libraries isSingleLibrary=false location=user
2025-03-04 20:08:52.529 Arduino IDE[1766:43290] +[IMKClient subclass]: chose IMKClient_Modern
2025-03-04 20:08:52.529 Arduino IDE[1766:43290] +[IMKInputSession subclass]: chose IMKInputSession_Modern
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2025-03-04T13:08:53.010Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 190.1 ms [Finished 1.147 s after frontend start]
2025-03-04T13:08:53.055Z root WARN A command editor.action.toggleStickyScroll is already registered.


I'm not a specialist in this area and I don't use a Mac. I see a few errors and I think that the network related errors are the relevant ones. Is there anything special about your network setup (e.g. using a corporate / school computer or a VPN)?

Look for the first error and fix that. I spent a few seconds and it looks like a permissions error. What is unusual about your Mac or network?

I am using home wifi network.

how to repair permission? I am tryng write chmod -R 777 /Users/macbookpro/.arduinoIDEclear but still problem with permission

That sure won't fix it. Your install is messed up. Are you sure you have the correct one? You need the Silicon version. Check your applications folder first to make sure Rosetta2 is installed.

That sure won't fix it. Your install is messed up. Are you sure you have the correct one? You need the Silicon version. Check your applications folder first to make sure Rosetta2 is installed.

yess Rosseta 2 already installed , now I think the problem is "Server responded with: 403 Forbidden"

Last login: Wed Mar  5 00:37:24 on ttys000
macbookpro@MacBook-Pro ~ % "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
Arduino IDE 2.3.4
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
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.4" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.1.1" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-12-03T09:58:49.900Z" (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.4","cliVersion":"1.1.1","buildDate":"2024-12-03T09:58:49.900Z"}
Starting backend process. PID: 2064
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///Users/macbookpro/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2025-03-04T17:59:06.632Z root INFO Backend Object.initialize: 2.9 ms [Finished 0.435 s after backend start]
2025-03-04T17:59:06.633Z root INFO Backend Object.configure: 2.3 ms [Finished 0.435 s after backend start]
2025-03-04T17:59:06.633Z root INFO Backend s.onStart: 1.0 ms [Finished 0.435 s after backend start]
2025-03-04T17:59:06.633Z root INFO Backend s.configure: 0.2 ms [Finished 0.455 s after backend start]
2025-03-04T17:59:06.634Z root INFO Backend d.onStart: 0.1 ms [Finished 0.455 s after backend start]
2025-03-04T17:59:06.634Z root INFO Backend d.configure: 0.1 ms [Finished 0.455 s after backend start]
2025-03-04T17:59:06.635Z root INFO Backend d.initialize: 19.8 ms [Finished 0.455 s after backend start]
2025-03-04T17:59:06.635Z root INFO Backend c.onStart: 0.2 ms [Finished 0.455 s after backend start]
2025-03-04T17:59:06.635Z root INFO Backend a.configure: 1.2 ms [Finished 0.457 s after backend start]
2025-03-04T17:59:06.636Z config INFO >>> Initializing CLI configuration...
2025-03-04T17:59:06.636Z root INFO Backend c.initialize: 0.4 ms [Finished 0.457 s after backend start]
2025-03-04T17:59:06.636Z root INFO Backend x.onStart: 0.6 ms [Finished 0.457 s after backend start]
2025-03-04T17:59:06.636Z config INFO Loading CLI configuration from /Users/macbookpro/.arduinoIDE/arduino-cli.yaml...
2025-03-04T17:59:06.637Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli...
2025-03-04T17:59:06.637Z root INFO Backend a.initialize: 0.3 ms [Finished 0.458 s after backend start]
2025-03-04T17:59:06.637Z root INFO Backend w.onStart: 0.7 ms [Finished 0.458 s after backend start]
2025-03-04T17:59:06.637Z root INFO Backend r.configure: 1.1 ms [Finished 0.458 s after backend start]
2025-03-04T17:59:06.637Z discovery-log INFO start
2025-03-04T17:59:06.637Z discovery-log INFO start new deferred
2025-03-04T17:59:06.637Z root INFO Backend d.initialize: 0.2 ms [Finished 0.459 s after backend start]
2025-03-04T17:59:06.637Z root INFO Backend y.onStart: 1.2 ms [Finished 0.460 s after backend start]
2025-03-04T17:59:06.637Z root INFO Backend r.configure: 1.0 ms [Finished 0.460 s after backend start]
2025-03-04T17:59:06.637Z root INFO Backend a.onStart: 0.3 ms [Finished 0.461 s after backend start]
2025-03-04T17:59:06.637Z root INFO Backend h.configure: 0.3 ms [Finished 0.461 s after backend start]
2025-03-04T17:59:06.637Z root INFO Backend s.configure: 0.1 ms [Finished 0.461 s after backend start]
2025-03-04T17:59:06.637Z root INFO Backend l.configure: 0.0 ms [Finished 0.461 s after backend start]
2025-03-04T17:59:06.639Z root INFO Theia app listening on http://127.0.0.1:49542.
2025-03-04T17:59:06.639Z root INFO Finished starting backend application: 1.8 ms [Finished 0.462 s after backend start]
2025-03-04T17:59:06.640Z root WARN The local plugin referenced by local-dir:/Users/macbookpro/.arduinoIDE/plugins does not exist.
2025-03-04T17:59:06.640Z root WARN The local plugin referenced by local-dir:/Users/macbookpro/.arduinoIDE/extensions does not exist.
2025-03-04T17:59:06.648Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]}}
2025-03-04T17:59:06.648Z config INFO Loading fallback CLI configuration to get 'directories.data' and 'directories.user'
2025-03-04T17:59:06.668Z root INFO Resolve plugins list: 31.4 ms [Finished 0.491 s after backend start]
2025-03-04T17:59:06.741Z daemon INFO time="2025-03-05T00:59:06+07:00" level=info msg="arduino-cli version 1.1.1"
time="2025-03-05T00:59:06+07:00" level=info msg="Using config file: /Users/macbookpro/.arduinoIDE/arduino-cli.yaml"
time="2025-03-05T00:59:06+07:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:49543
{"IP":"127.0.0.1","Port":"49543"}
2025-03-04T17:59:06.741Z daemon INFO Daemon is running.
2025-03-04T17:59:06.741Z config INFO Loaded fallback CLI configuration: {"directories":{"user":"/Users/macbookpro/Documents/Arduino","data":"/Users/macbookpro/Library/Arduino15"}}
2025-03-04T17:59:06.741Z config INFO Merged CLI configuration with the fallback: {"directories":{"user":"/Users/macbookpro/Documents/Arduino","data":"/Users/macbookpro/Library/Arduino15"},"board_manager":{"additional_urls":[]}}
2025-03-04T17:59:06.741Z config INFO Loaded the CLI configuration.
2025-03-04T17:59:06.745Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///Users/macbookpro/Library/Arduino15","sketchDirUri":"file:///Users/macbookpro/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2025-03-04T17:59:06.745Z config INFO Validating the CLI configuration...
2025-03-04T17:59:06.749Z config INFO The CLI config is valid.
2025-03-04T17:59:06.749Z config INFO <<< Initialized the CLI configuration.
2025-03-04T17:59:06.804Z daemon INFO time="2025-03-05T00:59:06+07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2025-03-04T17:59:06.891Z 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': Server responded with: 403 Forbidden
2025-03-04T17:59:06.891Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file /Users/macbookpro/Library/Arduino15/package_index.json: open /Users/macbookpro/Library/Arduino15/package_index.json: no such file or directory
2025-03-04T17:59:06.892Z daemon INFO time="2025-03-05T00:59:06+07:00" level=info msg="Loading hardware from: /Users/macbookpro/Library/Arduino15/packages"
time="2025-03-05T00:59:06+07:00" level=info msg="Loading package esp32 from: /Users/macbookpro/Library/Arduino15/packages/esp32/hardware"
2025-03-04T17:59:06.981Z daemon INFO time="2025-03-05T00:59:06+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded platform" platform="esp32:esp32@3.1.3"
time="2025-03-05T00:59:06+07:00" level=info msg="Checking existence of 'tools' path: /Users/macbookpro/Library/Arduino15/packages/esp32/tools"
time="2025-03-05T00:59:06+07:00" level=info msg="Loading tools from dir: /Users/macbookpro/Library/Arduino15/packages/esp32/tools"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded tool" tool="esp32:esp-rv32@2405"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded tool" tool="esp32:esp-x32@2405"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded tool" tool="esp32:esp32-arduino-libs@idf-release_v5.3-489d7a2b-v1"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded tool" tool="esp32:esptool_py@4.9.dev3"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded tool" tool="esp32:mklittlefs@3.0.0-gnu12-dc7f933"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded tool" tool="esp32:mkspiffs@0.2.3"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded tool" tool="esp32:openocd-esp32@v0.12.0-esp32-20241016"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded tool" tool="esp32:riscv32-esp-elf-gdb@14.2_20240403"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp-elf-gdb@14.2_20240403"
time="2025-03-05T00:59:06+07:00" level=info msg="Loading hardware from: /Users/macbookpro/Documents/Arduino/hardware"
time="2025-03-05T00:59:06+07:00" level=info msg="Loading package ATTinyCore-master from: /Users/macbookpro/Documents/Arduino/hardware/ATTinyCore-master"
2025-03-04T17:59:07.010Z daemon INFO time="2025-03-05T00:59:06+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded platform" platform="ATTinyCore-master:avr@1.2.6-dev"
time="2025-03-05T00:59:06+07:00" level=info msg="Loading package MiniCore-master from: /Users/macbookpro/Documents/Arduino/hardware/MiniCore-master"
time="2025-03-05T00:59:06+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2025-03-05T00:59:06+07:00" level=info msg="Loaded platform" platform="MiniCore-master:avr@2.0.3"
time="2025-03-05T00:59:06+07:00" level=info msg="Loading package arduino_sketches-master from: /Users/macbookpro/Documents/Arduino/hardware/arduino_sketches-master"
time="2025-03-05T00:59:06+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Library/Arduino15/packages/esp32/hardware/esp32/3.1.3/libraries isSingleLibrary=false location=platform
time="2025-03-05T00:59:06+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Documents/Arduino/hardware/ATTinyCore-master/avr/libraries isSingleLibrary=false location=platform
time="2025-03-05T00:59:06+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Documents/Arduino/hardware/MiniCore-master/avr/libraries isSingleLibrary=false location=platform
time="2025-03-05T00:59:06+07:00" level=info msg="Loading libraries index file" index=/Users/macbookpro/Library/Arduino15/library_index.json
time="2025-03-05T00:59:06+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Library/Arduino15/libraries isSingleLibrary=false location=ide
time="2025-03-05T00:59:06+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Documents/Arduino/libraries isSingleLibrary=false location=user
2025-03-04T17:59:07.010Z 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
2025-03-04T17:59:07.011Z 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
2025-03-04T17:59:07.011Z 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
2025-03-04T17:59:07.011Z 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
2025-03-04T17:59:07.011Z 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
2025-03-04T17:59:07.011Z 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
2025-03-04T17:59:07.011Z 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
2025-03-04T17:59:07.012Z 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
2025-03-04T17:59:07.012Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open /Users/macbookpro/Library/Arduino15/library_index.json: no such file or directory
2025-03-04T17:59:07.139Z 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/macbookpro/Library/Arduino15/package_index.json: open /Users/macbookpro/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
[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
[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
[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/macbookpro/Library/Arduino15/library_index.json: no such file or directory

2025-03-04T17:59:07.140Z daemon INFO time="2025-03-05T00:59:07+07:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2025-03-05T00:59:07+07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
time="2025-03-05T00:59:07+07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2025-03-04T17:59:07.142Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2025-03-04T17:59:07.142Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2025-03-04T17:59:07.223Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Server responded with: 403 Forbidden
    at t.callErrorFromStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:921584)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:949201)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:942225)
    at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:1028347
    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:948968)
    at s.updateLibrariesIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:1013244)
    at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:778426
    at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:778619
    at new Promise (<anonymous>)
    at v.doUpdateIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:778598)
    at v.updateLibraryIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:778398)
    at v.updateIndex (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:777672)
    at v.initInstanceWithFallback (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:775904)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-03-04T17:59:07.227Z daemon INFO time="2025-03-05T00:59:07+07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2025-03-04T17:59:07.294Z 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': Server responded with: 403 Forbidden
2025-03-04T17:59:07.294Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file /Users/macbookpro/Library/Arduino15/package_index.json: open /Users/macbookpro/Library/Arduino15/package_index.json: no such file or directory
2025-03-04T17:59:07.294Z daemon INFO time="2025-03-05T00:59:07+07:00" level=info msg="Loading hardware from: /Users/macbookpro/Library/Arduino15/packages"
time="2025-03-05T00:59:07+07:00" level=info msg="Loading package esp32 from: /Users/macbookpro/Library/Arduino15/packages/esp32/hardware"
2025-03-04T17:59:07.384Z daemon INFO time="2025-03-05T00:59:07+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2025-03-05T00:59:07+07:00" level=info msg="Loaded platform" platform="esp32:esp32@3.1.3"
time="2025-03-05T00:59:07+07:00" level=info msg="Checking existence of 'tools' path: /Users/macbookpro/Library/Arduino15/packages/esp32/tools"
time="2025-03-05T00:59:07+07:00" level=info msg="Loading tools from dir: /Users/macbookpro/Library/Arduino15/packages/esp32/tools"
time="2025-03-05T00:59:07+07:00" level=info msg="Loaded tool" tool="esp32:esp-rv32@2405"
2025-03-04T17:59:07.384Z daemon INFO time="2025-03-05T00:59:07+07:00" level=info msg="Loaded tool" tool="esp32:esp-x32@2405"
time="2025-03-05T00:59:07+07:00" level=info msg="Loaded tool" tool="esp32:esp32-arduino-libs@idf-release_v5.3-489d7a2b-v1"
time="2025-03-05T00:59:07+07:00" level=info msg="Loaded tool" tool="esp32:esptool_py@4.9.dev3"
2025-03-04T17:59:07.385Z daemon INFO time="2025-03-05T00:59:07+07:00" level=info msg="Loaded tool" tool="esp32:mklittlefs@3.0.0-gnu12-dc7f933"
time="2025-03-05T00:59:07+07:00" level=info msg="Loaded tool" tool="esp32:mkspiffs@0.2.3"
2025-03-04T17:59:07.385Z daemon INFO time="2025-03-05T00:59:07+07:00" level=info msg="Loaded tool" tool="esp32:openocd-esp32@v0.12.0-esp32-20241016"
time="2025-03-05T00:59:07+07:00" level=info msg="Loaded tool" tool="esp32:riscv32-esp-elf-gdb@14.2_20240403"
time="2025-03-05T00:59:07+07:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp-elf-gdb@14.2_20240403"
time="2025-03-05T00:59:07+07:00" level=info msg="Loading hardware from: /Users/macbookpro/Documents/Arduino/hardware"
time="2025-03-05T00:59:07+07:00" level=info msg="Loading package ATTinyCore-master from: /Users/macbookpro/Documents/Arduino/hardware/ATTinyCore-master"
2025-03-04T17:59:07.388Z daemon INFO time="2025-03-05T00:59:07+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2025-03-05T00:59:07+07:00" level=info msg="Loaded platform" platform="ATTinyCore-master:avr@1.2.6-dev"
time="2025-03-05T00:59:07+07:00" level=info msg="Loading package MiniCore-master from: /Users/macbookpro/Documents/Arduino/hardware/MiniCore-master"
2025-03-04T17:59:07.389Z daemon INFO time="2025-03-05T00:59:07+07:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2025-03-05T00:59:07+07:00" level=info msg="Loaded platform" platform="MiniCore-master:avr@2.0.3"
time="2025-03-05T00:59:07+07:00" level=info msg="Loading package arduino_sketches-master from: /Users/macbookpro/Documents/Arduino/hardware/arduino_sketches-master"
2025-03-04T17:59:07.389Z daemon INFO time="2025-03-05T00:59:07+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Library/Arduino15/packages/esp32/hardware/esp32/3.1.3/libraries isSingleLibrary=false location=platform
time="2025-03-05T00:59:07+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Documents/Arduino/hardware/ATTinyCore-master/avr/libraries isSingleLibrary=false location=platform
time="2025-03-05T00:59:07+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Documents/Arduino/hardware/MiniCore-master/avr/libraries isSingleLibrary=false location=platform
time="2025-03-05T00:59:07+07:00" level=info msg="Loading libraries index file" index=/Users/macbookpro/Library/Arduino15/library_index.json
2025-03-04T17:59:07.390Z 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
2025-03-04T17:59:07.390Z 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
2025-03-04T17:59:07.390Z 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
2025-03-04T17:59:07.390Z 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
2025-03-04T17:59:07.390Z 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
2025-03-04T17:59:07.390Z 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
2025-03-04T17:59:07.390Z 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
2025-03-04T17:59:07.390Z 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
2025-03-04T17:59:07.390Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open /Users/macbookpro/Library/Arduino15/library_index.json: no such file or directory
2025-03-04T17:59:07.391Z daemon INFO time="2025-03-05T00:59:07+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Library/Arduino15/libraries isSingleLibrary=false location=ide
time="2025-03-05T00:59:07+07:00" level=info msg="Adding libraries dir" dir=/Users/macbookpro/Documents/Arduino/libraries isSingleLibrary=false location=user
2025-03-04T17:59:07.395Z root INFO Deploy plugins list: 31.4 ms [Finished 1.219 s after backend start]
2025-03-04T17:59:07.466Z 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/macbookpro/Library/Arduino15/package_index.json: open /Users/macbookpro/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
[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
[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
[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/macbookpro/Library/Arduino15/library_index.json: no such file or directory

2025-03-04T17:59:07.466Z 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/macbookpro/Library/Arduino15/package_index.json: open /Users/macbookpro/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
[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
[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
[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/macbookpro/Library/Arduino15/library_index.json: no such file or directory

    at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:777415
    at v.evaluateErrorStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:777431)
    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:777101)
2025-03-05 00:59:07.484 Arduino IDE[2041:30582] +[IMKClient subclass]: chose IMKClient_Modern
2025-03-05 00:59:07.484 Arduino IDE[2041:30582] +[IMKInputSession subclass]: chose IMKInputSession_Modern
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2025-03-04T17:59:07.999Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 194.6 ms [Finished 1.247 s after frontend start]
2025-03-04T17:59:08.040Z root WARN A command editor.action.toggleStickyScroll is already registered.

After I changed the internet network, finally arduino 2.3 4 can be installed. thank you all

1 Like

The same problem exist on Intel Macs as well.

Hi @lotsacaffeine. Are you having a problem using Arduino IDE? If so, please provide a detailed description of the problem you are having and we'll provide assistance.

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