Skip to content

letta can't initialize without xdg-open in $PATH #3102

@maruel

Description

@maruel

This issue is about https://github.com/maruel/letta-code but there's no issue tracker on this repository.

Describe the bug
OOBE requires xdg-open to be in $PATH

Please describe your setup

  • How are you running Letta?
    • Docker, Debian 13
 (main)/app🐳letta 


   ██████  
 ██      ██
 ██  ▇▇  ██
 ██      ██
   ██████  

 Login to the Letta Developer Platform

 Opening browser for authorization...

 Your authorization code: 88WY-C85C
 URL: https://app.letta.com/oauth/device?user_code=1234-5678

 Waiting for you to authorize in the browser...

node:events:486
      throw er; // Unhandled 'error' event
      ^

Error: spawn xdg-open ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:89:21)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn xdg-open',
  path: 'xdg-open',
  spawnargs: [ 'https://app.letta.com/oauth/device?user_code=1234-5678' ]
}

Node.js v24.12.0
1 (main)/app🐳letta --version
0.6.3 (Letta Code)
 (main)/app🐳cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.2
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

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