Skip to content

Failed to execute Claude Code #2

Open

Description

@445560292

Image

Image

Activity

  1. RemusRD commented on Jun 20, 2025

    @RemusRD

    I am getting "failed to execute agent". Not sure if related, can't find the log location.

  2. sanky369 commented on Jun 22, 2025

    @sanky369

    This seems to not work in windows

  3. zonetw commented on Jun 23, 2025

    @zonetw

    neither agent or project can't execute claude code.
    when using cc agent, I saw the message below:

    env: node: No such file or directory
    

    Image

  4. antonyr commented on Jun 24, 2025

    @antonyr

    I have the same issue on Mac M4 too. I am running it with Node 24 and installed with npm.

  5. bartkim0426 commented on Jun 24, 2025

    @bartkim0426
    Image

    similar issue on mac m2

  6. sakai-303 commented on Jun 24, 2025

    @sakai-303

    It seems to have been caused by using nodenv (if you believe deepwiki, the list of referenced paths does not include nodenv shims).
    It's not an essential solution, but using the dev version of the build, as per deepwiki, solved the problem.

    I've attached the log of an actual question I asked deepwiki, albeit in Japanese.
    https://deepwiki.com/search/claude-code-not-found-claude_5c95bc41-ac90-4174-ba64-2f1930373005

  7. ba0gu0 commented on Jun 25, 2025

    @ba0gu0

    The same issue occurs on an M1 Mac.

    Launching via bun run tauri dev mode works fine.

    Launching via the command line /Applications/Claudia.app/Contents/MacOS/claudia also works without problems.

    However, launching the app by clicking on it causes issues.

    It's suspected to be an environment variable problem, but in src-tauri/src/claude_binary.rs, the search for claude has already been implemented, so claude should be found even without environment variables.

    Debugging the built version is very troublesome, and currently no good debugging method has been found.

  8. james-song commented on Aug 3, 2025

    @james-song

    use it ln -s "$(which claude)" "$(brew --prefix)/bin/claude"

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