loft-sh / devpod

Codespaces but open-source, client-only and unopinionated: Works with any IDE and lets you use any cloud, kubernetes or just localhost docker.
https://devpod.sh
Mozilla Public License 2.0
8.73k stars 328 forks source link

Desktop DevPod fails to locate CLI due to incorrect path #1124

Closed ndk closed 3 months ago

ndk commented 3 months ago

What happened? Cannot configure any provider. I got an error "The system cannot find the file specified. (os error 2) "

image

Due to the error message's lack of informativeness, I used Procmon from Sysinternals to see what was happening. It's trying to find the CLI in the wrong place. image

If you copy CLI to "c:\app\bin\devpod-cli.exe" it starts working. If you remove CLI from "c:\app\bin\devpod-cli.exe" it stops working again.

What did you expect to happen instead?
I can configure a new provider without an error.

How can we reproduce the bug? (as minimally and precisely as possible)

My devcontainer.json:

{
    "name": "...",
    ...
}

Local Environment:

DevPod Provider:

Anything else we need to know?

francoisdtm commented 3 months ago
image

Local Environment: DevPod Version: 0.5.14 (20240613.064519) Operating System: macOS 14.5 (23F79) ARCH of the OS: Apple M1 Pro

pascalbreuninger commented 3 months ago

hey @ndk @francoisdtm, thanks for reporting the issue - the fix is underway and should be ready soon!

edit: v0.5.15 and working for me, can you confirm?

ndk commented 3 months ago

Yep, it works

ndk commented 3 months ago

It seems it's fixed in v0.5.15