DevPod GUI fails to launch on macOS
What happened?
When launching the app by double-clicking on it in Finder, it fails to launch. The devpod CLI still works correctly.
What did you expect to happen instead?
I expected a DevPod window to open.
How can we reproduce the bug? (as minimally and precisely as possible)
Install the most recent release or release candidate and launch it.
Local Environment:
- DevPod Version: v0.6.13
- Operating System: macOS Sequoia 15.3.1
- ARCH of the OS: ARM64
It gets weirder! Double-clicking the app does not work, but launching it from the shell with open -a DevPod.app does work.
I'm in the same situation — macOS 15.4. Unfortunately, the workaround using open -a wasn't available for me because I was using Nushell. Once I switched to Zsh as the default shell, it worked.
OK great hint, it's also working for me when I switch back to ZSH. I'll see if I can dig up a minimal reproduction.
It looks like the desktop app tries to grab the value of the PATH variable by running $SHELL -ilc 'printenv PATH; exit'. When I run that with Nushell I get a very pretty error:
nu -ilc 'printenv PATH; exit'
Error: nu::parser::missing_flag_param
× Missing flag argument.
╭─[source:1:4]
1 │ nu -ilc
· ──┬─
· ╰── flag missing string argument
╰────
I think that explains why @interpeix was having issues, but I wasn't on Nushell I was using fish, where this seems to work
fish -ilc 'printenv PATH; exit'
/opt/homebrew/bin:...
Investigating further to see if I can find the cause for my non-Nushell issues.
This for now works for me, and so I can keep nushell as login shell:
zsh -ci "open -n /Applications/DevPod.app"
Edit: I am using nushell 0.104
This issue is stale because it has been open for 60 days with no activity.