devspace icon indicating copy to clipboard operation
devspace copied to clipboard

Constantly downloading devspace

Open strowk opened this issue 1 year ago • 1 comments

What happened?

Every time I run any devspace command, even --help, it starts downloading .. "Download DevSpace CLI release:", which takes several seconds and is very annoying.

What did you expect to happen instead?

Download it only once and reuse.

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

Just install it on Windows, I suppose, and then run devspace --init several times.

Local Environment:

  • DevSpace Version: 6.3.12
  • Operating System: windows
  • ARCH of the OS: AMD64

Anything else we need to know?

I have node and npm installed by fnm and had to add that installation in PATH manually ( see workaround in https://github.com/devspace-sh/devspace/issues/2881 ). This might somehow interfere?

strowk avatar Aug 18 '24 18:08 strowk

@strowk

Are you installing devspace using npm install -g devspace? I suspect that the node install script + the usage of fnm is causing this.

I'd recommend using one of the other install methods for now.

lizardruss avatar Oct 03 '24 17:10 lizardruss