Closed thatGreekGuy96 closed 2 years ago
We're seeing the same thing. It looks like Assets
is lazy loaded (now?) and that may have broke this. Does anyone have a workaround?
The new URL would be: https://github.com/loft-sh/devspace/releases/expanded_assets/v5.18.5
Would this be a better alternative? https://docs.github.com/en/rest/releases/assets#list-release-assets
Hi @thatGreekGuy96, Looks like the links are broken. We will need to change the url in code to point to new url.
Meanwhile, could you please try running the command like this - DEVSPACE_INJECT_LOCAL=true devspace dev
? This will try to skip the downloading of helper from container. If that still fails, you may need to download the devspacehelper binary manually to below location - ~/.devspace/devspacehelper/latest/ I haven't tried this on my local but looking at code, it seems it should work.
Hi @mahendrabagul thanks for the suggestion! DEVSPACE_INJECT_LOCAL=true devspace dev
didn't work but downloading the binary and putting it in the folder you specified did! Many thanks.
@thatGreekGuy96 the problem is that you probably have installed DevSpace via brew, which doesn't have the helper included in the binary directly, which is why the helper is lazy loaded. Unfortunately, Github has changed their release urls and that means that the lazy loading is not working anymore and causes problems for DevSpace v5 brew installations. The workaround by @mahendrabagul should work though
What happened?
Trying to run the
devspace dev
command for a project I'm working on and I am getting the following error.What did you expect to happen instead?
Would expect the
devspace dev
command to work.How can we reproduce the bug? (as minimally and precisely as possible)
I was trying to run the
quickstart
example indevspace/examples/quickstart
My devspace.yaml:
Local Environment:
devspace version 5.18.5
Anything else we need to know?
I dug a bit into the devspace source code and it looks as though the way this
devspacehelper
download works is that we're fetching the html body ofhttps://github.com/loft-sh/devspace/releases/tag/v5.18.5
and doing a regex search for the download link? The issue seems to occur because that regex search is not returning anything.