I'm reluctant to add to this list of woes, but your replies are so helpful and I'm really stuck. I'm also on an M1 mac running 13.3.1.
Arduino IDE hung while compiling a sketch. Thereafter, despite multiple re-installs (inc. deleting the hidden folder in my library), it just gives the active icon, the top level menu, and hangs.
Here's the response to the terminal call - thanks in advance!
(base) jonathanimpett@MacBook-Pro-4 / % "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
Arduino IDE 2.1.0
Starting backend process. PID: 46816
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///Users/jonathanimpett/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-05-08T20:27:27.720Z root INFO Backend Object.initialize: 13.2 ms [Finished 2.086 s after backend start]
2023-05-08T20:27:27.720Z root INFO Backend Object.configure: 10.6 ms [Finished 2.086 s after backend start]
2023-05-08T20:27:27.720Z root INFO Backend MessagingContribution.onStart: 5.1 ms [Finished 2.086 s after backend start]
2023-05-08T20:27:27.722Z root INFO Backend OSBackendApplicationContribution.configure: 1.7 ms [Finished 2.148 s after backend start]
2023-05-08T20:27:27.724Z root INFO Backend DefaultWorkspaceServer.onStart: 1.2 ms [Finished 2.148 s after backend start]
2023-05-08T20:27:27.732Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.2 ms [Finished 2.149 s after backend start]
2023-05-08T20:27:27.735Z root WARN Backend PluginLocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 62.0 ms [Finished 2.149 s after backend start]
2023-05-08T20:27:27.736Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.3 ms [Finished 2.149 s after backend start]
2023-05-08T20:27:27.740Z root INFO Backend ElectronTokenBackendContribution.configure: 2.2 ms [Finished 2.151 s after backend start]
2023-05-08T20:27:27.742Z config INFO >>> Initializing CLI configuration...
2023-05-08T20:27:27.744Z root INFO Backend PluginDeployerContribution.initialize: 1.1 ms [Finished 2.152 s after backend start]
2023-05-08T20:27:27.746Z root INFO Backend ConfigServiceImpl.onStart: 2.5 ms [Finished 2.154 s after backend start]
2023-05-08T20:27:27.748Z config INFO Loading CLI configuration from /Users/jonathanimpett/.arduinoIDE/arduino-cli.yaml...
2023-05-08T20:27:27.750Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 5.8 ms [Finished 2.162 s after backend start]
2023-05-08T20:27:27.752Z root INFO Backend ArduinoDaemonImpl.onStart: 8.4 ms [Finished 2.165 s after backend start]
2023-05-08T20:27:27.752Z root INFO Backend NodeFileUploadService.configure: 11.6 ms [Finished 2.166 s after backend start]
2023-05-08T20:27:27.752Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
2023-05-08T20:27:27.752Z discovery-log INFO start
2023-05-08T20:27:27.752Z discovery-log INFO start new deferred
2023-05-08T20:27:27.753Z root INFO Backend HostedPluginLocalizationService.initialize: 2.3 ms [Finished 2.170 s after backend start]
2023-05-08T20:27:27.754Z root INFO Backend BoardDiscovery.onStart: 5.3 ms [Finished 2.174 s after backend start]
2023-05-08T20:27:27.754Z root INFO Backend FileDownloadEndpoint.configure: 3.9 ms [Finished 2.175 s after backend start]
2023-05-08T20:27:27.755Z root INFO Backend AuthenticationServiceImpl.onStart: 1.6 ms [Finished 2.180 s after backend start]
2023-05-08T20:27:27.757Z root INFO Backend PluginApiContribution.configure: 2.8 ms [Finished 2.181 s after backend start]
2023-05-08T20:27:27.760Z root INFO Backend HostedPluginReader.configure: 2.3 ms [Finished 2.184 s after backend start]
2023-05-08T20:27:27.760Z root INFO Backend HostedPluginReader.configure: 0.7 ms [Finished 2.185 s after backend start]
2023-05-08T20:27:27.760Z root INFO Backend PlotterBackendContribution.configure: 2.2 ms [Finished 2.190 s after backend start]
2023-05-08T20:27:27.773Z root ERROR Failed to start the backend application:
2023-05-08T20:27:27.775Z root ERROR Error: listen EADDRNOTAVAIL: address not available 127.0.0.1
at Server.setupListenHandle [as _listen2] (node:net:1298:21)
at listenInCluster (node:net:1363:12)
at GetAddrInfoReqWrap.doListen [as callback] (node:net:1501:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8)
2023-05-08T20:27:27.784Z root ERROR Uncaught Exception:
2023-05-08T20:27:27.784Z root ERROR Error: listen EADDRNOTAVAIL: address not available 127.0.0.1
at Server.setupListenHandle [as _listen2] (node:net:1298:21)
at listenInCluster (node:net:1363:12)
at GetAddrInfoReqWrap.doListen [as callback] (node:net:1501:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8)
2023-05-08T20:27:27.798Z root WARN The local plugin referenced by local-dir:/Users/jonathanimpett/.arduinoIDE/plugins does not exist.
2023-05-08T20:27:27.799Z root WARN The local plugin referenced by local-dir:/Users/jonathanimpett/.arduinoIDE/extensions does not exist.