Skip to content

Issues chatting with Claude via Claudia, issue starting the claude sidecar. #136

@martinffx

Description

@martinffx

I checked out and built this project but could not get the chat with Claude working.

Image

When I ran in dev mode: bun run tauri dev I saw a sidecar issus

❯ bun run tauri dev
$ tauri dev
     Running BeforeDevCommand (`bun run dev`)
$ vite

  VITE v6.3.5  ready in 287 ms

  ➜  Local:   http://localhost:1420/
     Running DevCommand (`cargo  run --no-default-features --color always --`)
        Info Watching /Users/martinrichards/code/claudia/src-tauri for changes...
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s
     Running `target/debug/claudia`
2025-07-05 12:04:01.161 claudia[22734:60645877] +[IMKClient subclass]: chose IMKClient_Modern
2025-07-05 12:04:01.251 claudia[22734:60645877] +[IMKInputSession subclass]: chose IMKInputSession_Modern
[2025-07-05T10:04:02Z ERROR claudia::commands::claude] Failed to execute sidecar: No such file or directory (os error 2)
[2025-07-05T10:04:02Z ERROR claudia::commands::claude] Failed to execute sidecar: No such file or directory (os error 2)

Debugging with Claude led me to:

$ cd ./src-tauri/binaries/
$ ln -s claude-code-aarch64-apple-darwin claude-code
$ cd ../..
$ ls -la ./src-tauri/binaries/
lrwxr-xr-x    - martinrichards  5 Jul 12:03  claude-code -> claude-code-aarch64-apple-darwin
.rwxrwxrwx 226M martinrichards  4 Jul 20:37  claude-code-aarch64-apple-darwin

And adding externalBin to src-tauri/tauri.conf.json


  "bundle": {
    "active": true,
    "targets": "all",
    "icon": [
      "icons/32x32.png",
      "icons/128x128.png",
      "icons/128x128@2x.png",
      "icons/icon.icns",
      "icons/icon.png"
    ],
    "externalBin": ["binaries/claude-code"]
  }

This resolved my issue, don't know if it is the right fix but it's working for me

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