lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.48k stars 1.46k forks source link

Lens have JavaScript error / Would not start #8009

Open Bafff opened 8 months ago

Bafff commented 8 months ago

Describe the bug

Using several Latest builds (i.e. Lens Setup 2023.12.80831-latest & Lens Setup 2023.11.81519-latest) I have an error during the startup of the application:

image

I need to click this message through about 10 times and only after that Lens would run

If I delete/update the app using Lens Setup 2024.1.170738-latest.exe - it shows the Mirantis logo, opens 2 windows for several seconds and does not start at all

To Reproduce

I tried updating/fully removal of the application - but it's not helping

I have Windows 10 with the latest updates

Nokel81 commented 8 months ago

Hello, I think this error (which of course should not be happening) points to the fact that a kubeconfig is an array when it is expected to be an object.

Do you have a kubeconfig file that works with kubectl that is a YAML or JSON array as the top level construct?