Hi - just following on from this issue - I too cannot get past a flashing icon in arduino IDE 2 - this is after a crash when using the IDE where I had to force quit the app and restart my mac book air (M1) - code is attached.
Any help appreciated - I have un-installed and re-installed (cleaning all relevant folders etc) a couple of times but the IDE will still not load and run.
Last login: Wed Aug 23 12:22:35 on ttys000
/Applications/Arduino\ IDE.app/Contents/MacOS/Arduino\ IDE ; exit;
andyvisser@Andys-Air ~ % /Applications/Arduino\ IDE.app/Contents/MacOS/Arduino\ IDE ; exit;
Arduino IDE 2.1.2-nightly-20230823
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.1.2-nightly-20230823" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.34.0-rc.1" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2023-08-23T03:23:01.256Z" (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.1.2-nightly-20230823","cliVersion":"0.34.0-rc.1","buildDate":"2023-08-23T03:23:01.256Z"}
Starting backend process. PID: 69732
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///Users/andyvisser/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-08-23T11:26:04.400Z root WARN Backend Object.initialize took longer than the expected maximum 50 milliseconds: 51.0 ms [Finished 0.938 s after backend start]
2023-08-23T11:26:04.421Z root INFO Backend Object.configure: 43.7 ms [Finished 0.939 s after backend start]
2023-08-23T11:26:04.421Z root INFO Backend a.onStart: 18.0 ms [Finished 0.939 s after backend start]
2023-08-23T11:26:04.431Z root INFO Backend a.configure: 6.4 ms [Finished 1.078 s after backend start]
2023-08-23T11:26:04.445Z root INFO Backend u.onStart: 4.6 ms [Finished 1.078 s after backend start]
2023-08-23T11:26:04.482Z root INFO Backend d.configure: 1.3 ms [Finished 1.080 s after backend start]
2023-08-23T11:26:04.507Z root WARN Backend d.initialize took longer than the expected maximum 50 milliseconds: 142.4 ms [Finished 1.086 s after backend start]
2023-08-23T11:26:04.513Z root INFO Backend c.onStart: 6.0 ms [Finished 1.086 s after backend start]
2023-08-23T11:26:04.520Z root INFO Backend s.configure: 28.7 ms [Finished 1.116 s after backend start]
2023-08-23T11:26:04.547Z config INFO >>> Initializing CLI configuration...
2023-08-23T11:26:04.561Z root INFO Backend c.initialize: 8.6 ms [Finished 1.119 s after backend start]
2023-08-23T11:26:04.565Z root INFO Backend P.onStart: 11.9 ms [Finished 1.130 s after backend start]
2023-08-23T11:26:04.576Z config INFO Loading CLI configuration from /Users/andyvisser/.arduinoIDE/arduino-cli.yaml...
2023-08-23T11:26:04.585Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli...
2023-08-23T11:26:04.585Z root INFO Backend s.initialize: 8.6 ms [Finished 1.170 s after backend start]
2023-08-23T11:26:04.585Z root INFO Backend w.onStart: 30.9 ms [Finished 1.195 s after backend start]
2023-08-23T11:26:04.588Z root WARN Backend r.configure took longer than the expected maximum 50 milliseconds: 68.9 ms [Finished 1.200 s after backend start]
2023-08-23T11:26:04.590Z discovery-log INFO start
2023-08-23T11:26:04.591Z discovery-log INFO start new deferred
2023-08-23T11:26:04.591Z root INFO Backend d.initialize: 4.3 ms [Finished 1.208 s after backend start]
2023-08-23T11:26:04.593Z root INFO Backend y.onStart: 46.2 ms [Finished 1.248 s after backend start]
2023-08-23T11:26:04.593Z root INFO Backend r.configure: 32.2 ms [Finished 1.253 s after backend start]
2023-08-23T11:26:04.593Z root INFO Backend s.onStart: 6.5 ms [Finished 1.273 s after backend start]
2023-08-23T11:26:04.593Z root INFO Backend h.configure: 4.9 ms [Finished 1.273 s after backend start]
2023-08-23T11:26:04.593Z root INFO Backend a.configure: 2.6 ms [Finished 1.280 s after backend start]
2023-08-23T11:26:04.593Z root INFO Backend s.configure: 0.1 ms [Finished 1.281 s after backend start]
2023-08-23T11:26:04.597Z root INFO Backend l.configure: 0.1 ms [Finished 1.281 s after backend start]
2023-08-23T11:26:04.628Z root INFO Theia app listening on http://localhost:58015.
2023-08-23T11:26:04.633Z root INFO Finished starting backend application: 38.7 ms [Finished 1.316 s after backend start]
2023-08-23T11:26:04.696Z root WARN The local plugin referenced by local-dir:/Users/andyvisser/.arduinoIDE/plugins does not exist.
2023-08-23T11:26:04.705Z root WARN The local plugin referenced by local-dir:/Users/andyvisser/.arduinoIDE/extensions does not exist.
2023-08-23T11:26:04.743Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"/Users/andyvisser/Library/Arduino15","downloads":"/Users/andyvisser/Library/Arduino15/staging","user":"/Users/andyvisser/Documents/Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2023-08-23T11:26:04.744Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-08-23T11:26:04.744Z config INFO Loaded the CLI configuration.
2023-08-23T11:26:04.746Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///Users/andyvisser/Library/Arduino15","sketchDirUri":"file:///Users/andyvisser/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-08-23T11:26:04.746Z config INFO Validating the CLI configuration...
2023-08-23T11:26:04.751Z daemon INFO time="2023-08-23T12:26:04+01:00" level=info msg="Using config file: /Users/andyvisser/.arduinoIDE/arduino-cli.yaml"
time="2023-08-23T12:26:04+01:00" level=info msg="arduino-cli version 0.34.0-rc.1"
time="2023-08-23T12:26:04+01:00" level=info msg="Executing `arduino-cli daemon`"
2023-08-23T11:26:04.754Z daemon INFO Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
2023-08-23T11:26:04.755Z daemon ERROR Error: Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
2023-08-23T11:26:04.755Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli...
2023-08-23T11:26:04.758Z daemon INFO Daemon exited with exit code: 1.
2023-08-23T11:26:04.774Z root INFO Resolve plugins list: 199.6 ms [Finished 1.461 s after backend start]
2023-08-23T11:26:04.781Z config INFO The CLI config is valid.
2023-08-23T11:26:04.781Z config INFO <<< Initialized the CLI configuration.
2023-08-23T11:26:05.012Z daemon INFO time="2023-08-23T12:26:04+01:00" level=info msg="Using config file: /Users/andyvisser/.arduinoIDE/arduino-cli.yaml"
time="2023-08-23T12:26:04+01:00" level=info msg="arduino-cli version 0.34.0-rc.1"
time="2023-08-23T12:26:04+01:00" level=info msg="Executing `arduino-cli daemon`"
2023-08-23T11:26:05.025Z daemon INFO Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
2023-08-23T11:26:05.026Z daemon ERROR Error: Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
2023-08-23T11:26:05.027Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli...
2023-08-23T11:26:05.048Z daemon INFO Daemon exited with exit code: 1.
2023-08-23T11:26:05.272Z daemon INFO time="2023-08-23T12:26:05+01:00" level=info msg="Using config file: /Users/andyvisser/.arduinoIDE/arduino-cli.yaml"
time="2023-08-23T12:26:05+01:00" level=info msg="arduino-cli version 0.34.0-rc.1"
time="2023-08-23T12:26:05+01:00" level=info msg="Executing `arduino-cli daemon`"
2023-08-23T11:26:05.281Z daemon INFO Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
2023-08-23T11:26:05.282Z daemon ERROR Error: Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
2023-08-23T11:26:05.282Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli...
2023-08-23T11:26:05.288Z daemon INFO Daemon exited with exit code: 1.
2023-08-23T11:26:05.400Z daemon INFO time="2023-08-23T12:26:05+01:00" level=info msg="Using config file: /Users/andyvisser/.arduinoIDE/arduino-cli.yaml"
time="2023-08-23T12:26:05+01:00" level=info msg="arduino-cli version 0.34.0-rc.1"
time="2023-08-23T12:26:05+01:00" level=info msg="Executing `arduino-cli daemon`"
2023-08-23T11:26:05.400Z daemon INFO Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
2023-08-23T11:26:05.402Z daemon ERROR Error: Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
2023-08-23T11:26:05.402Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli...
2023-08-23T11:26:05.402Z daemon INFO Daemon exited with exit code: 1.
2023-08-23T11:26:05.492Z daemon INFO time="2023-08-23T12:26:05+01:00" level=info msg="Using config file: /Users/andyvisser/.arduinoIDE/arduino-cli.yaml"
time="2023-08-23T12:26:05+01:00" level=info msg="arduino-cli version 0.34.0-rc.1"
time="2023-08-23T12:26:05+01:00" level=info msg="Executing `arduino-cli daemon`"
2023-08-23T11:26:05.493Z daemon INFO Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
2023-08-23T11:26:05.493Z daemon ERROR Error: Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
2023-08-23T11:26:05.493Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli...
2023-08-23T11:26:05.494Z daemon INFO Daemon exited with exit code: 1.
2023-08-23T11:26:05.611Z daemon INFO time="2023-08-23T12:26:05+01:00" level=info msg="Using config file: /Users/andyvisser/.arduinoIDE/arduino-cli.yaml"
time="2023-08-23T12:26:05+01:00" level=info msg="arduino-cli version 0.34.0-rc.1"
time="2023-08-23T12:26:05+01:00" level=info msg="Executing `arduino-cli daemon`"
2023-08-23T11:26:05.611Z daemon INFO Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
2023-08-23T11:26:05.611Z daemon ERROR Error: Failed to listen on TCP port: 0. Unexpected error: listen tcp 127.0.0.1:0: bind: can't assign requested address
at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)