You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Reacted by ChanasitGithub, vcan, Seung-Jin Hong, Francisco Manuel Ferreiro, Vagner Maltauro and Anthony Min
Activity
fix: improve Claude binary detection for NVM and production builds
RemusRD commentedon Jun 20, 2025
I am getting "failed to execute agent". Not sure if related, can't find the log location.
sanky369 commentedon Jun 22, 2025
This seems to not work in windows
zonetw commentedon Jun 23, 2025
neither agent or project can't execute claude code.
when using cc agent, I saw the message below:
antonyr commentedon Jun 24, 2025
I have the same issue on Mac M4 too. I am running it with Node 24 and installed with npm.
bartkim0426 commentedon Jun 24, 2025
similar issue on mac m2
sakai-303 commentedon Jun 24, 2025
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
ba0gu0 commentedon Jun 25, 2025
The same issue occurs on an M1 Mac.
Launching via
bun run tauri devmode works fine.Launching via the command line
/Applications/Claudia.app/Contents/MacOS/claudiaalso 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.
james-song commentedon Aug 3, 2025
use it
ln -s "$(which claude)" "$(brew --prefix)/bin/claude"