Skip to content

Unable to start a new session after v2 update. "Failed to run preset" error. #4420

Closed as duplicate

Description

@aaronv-emergent

When I try to run Claude Code or Codex:

Failed to run preset
[pty-daemon:71caf960-ffe5-4674-9248-263588acfa5f] socket did not become ready within 5000ms (childPid=13077, earlyExit=1). Log tail: es/app.asar/dist/main/pty-daemon.js:1009:6) at Module._compile (node:internal/modules/cjs/loader:1820:14) [pty-daemon] failed to start: Error: listen EINVAL: invalid argument /var/folders/ly/9dkqzyw94nd1s_gg301j7xvr0000gn/T/com.apple.shortcuts.mac-helper/superset-ptyd-9515c0df6c1c.sock at Server.setupListenHandle [as _listen2] (node:net:1926:21) at listenInCluster (node:net:2005:12) at Server.listen (node:net:2127:5) at /Applications/Superset.app/Contents/Resources/app.asar/dist/main/pty-daemon.js:496:19 at new Promise () at Server.listen (/Applications/Superset.app/Contents/Resources/app.asar/dist/main/pty-daemon.js:494:11) at runFresh (/Applications/Superset.app/Contents/Resources/app.asar/dist/main/pty-daemon.js:909:16) at main (/Applications/Superset.app/Contents/Resources/app.asar/dist/main/pty-daemon.js:899:9) at Object. (/Applications/Superset.app/Contents/Resources/app.asar/dist/main/pty-daemon.js:1009:6) at Module._compile (node:internal/modules/cjs/loader:1820:14) [pty-daemon] failed to start: Error: listen EINVAL: invalid argument /var/folders/ly/9dkqzyw94nd1s_gg301j7xvr0000gn/T/com.apple.shortcuts.mac-helper/superset-ptyd-9515c0df6c1c.sock at Server.setupListenHandle [as _listen2] (node:net:1926:21) at listenInCluster (node:net:2005:12) at Server.listen (node:net:2127:5) at /Applications/Superset.app/Contents/Resources/app.asar/dist/main/pty-daemon.js:496:19 at new Promise () at Server.listen (/Applications/Superset.app/Contents/Resources/app.asar/dist/main/pty-daemon.js:494:11) at runFresh (/Applications/Superset.app/Contents/Resources/app.asar/dist/main/pty-daemon.js:909:16) at main (/Applications/Superset.app/Contents/Resources/app.asar/dist/main/pty-daemon.js:899:9) at Object. (/Applications/Superset.app/Contents/Resources/app.asar/dist/main/pty-daemon.js:1009:6) at Module._compile (node:internal/modules/cjs/loader:1820:14)

When I try to run just the terminal:

Failed to run preset
[ { "origin": "string", "code": "too_small", "minimum": 1, "inclusive": true, "path": [ "initialCommand" ], "message": "Too small: expected string to have >=1 characters" } ]

Activity

  1. added a commit that references this issue on May 11, 2026
  2. Kitenite commented on May 11, 2026

    @Kitenite
    Member

    Hi are you able to start terminals at all?

  3. aaronv-emergent commented on May 11, 2026

    @aaronv-emergent
    Author

    Not in v2, I get this: Failed to run preset
    [ { "origin": "string", "code": "too_small", "minimum": 1, "inclusive": true, "path": [ "initialCommand" ], "message": "Too small: expected string to have >=1 characters" } ]

  4. Kitenite commented on Jul 11, 2026

    @Kitenite
    Member

    Closing as a duplicate of #5590, the consolidated tracker for stale agent-integrations issues from the July 2026 stale-issue sweep (no activity since 2026-06-01). If this still applies on a current build, comment on #5590 and we'll reopen.

  5. Kitenite commented on Jul 12, 2026

    @Kitenite
    Member

    Fixed by #4926 (terminal preset launch repair) and #4963 (removed the OSC 133;A gating that made launches hang). Reopen if presets still fail on a current build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions