-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Description:
The claudia macOS application fails to launch from the GUI when Node.js is installed via Homebrew on Apple Silicon (/opt/homebrew/bin/node). The error is env: node: No such file or directory.
Environment:
macOS Version: [e.g., Sonoma 14.5]
Chip: Apple Silicon (M1/M2/M3)
Node.js Installation: Installed via Homebrew, path is /opt/homebrew/bin/node.
Node Version: [e.g., v23.7.0]
Troubleshooting Steps Performed:
Confirmed node is in the terminal PATH and works correctly.
The application works when its binary is executed directly from the terminal.
The application fails when launched from the Finder/Dock.
Attempted to fix the GUI application PATH by adding the LSEnvironment key to Info.plist to prepend /opt/homebrew/bin. This standard macOS solution did not work, and the error persisted.
Conclusion:
The application appears to ignore the system-provided PATH variable (including LSEnvironment) and is likely using a hardcoded path to find the node executable. This is a packaging bug that prevents it from working with standard Homebrew installations on macOS.