gefyrahq / gefyra

Blazingly-fast :rocket:, rock-solid, local application development :arrow_right: with Kubernetes.
https://gefyra.dev
Apache License 2.0
692 stars 28 forks source link

gefyra-2.2.0-windows-x86_64 install failed #651

Closed Nucleus-MFelettigh closed 4 months ago

Nucleus-MFelettigh commented 4 months ago

What happened?

On a Windows 11 pro a) download https://github.com/gefyrahq/gefyra/releases/download/2.2.0/gefyra-2.2.0-windows-x86_64.zip b) unzip gefyra-2.2.0-windows-x86_64.zip c) run .\gefyra.exe failed with:

PS C:\Users\admin\Downloads\gefyra-2.2.0-windows-x86_64\dist-exe> .\gefyra.exe
Error: project execution failed, consider restoring from scratch

Caused by:
    The system cannot find the file specified. (os error 2)

What did you expect to happen?

run the installer without errors

Please provide the output of gefyra check.

PS C:\Users\admin\Downloads\gefyra-2.2.0-windows-x86_64\dist-exe> .\gefyra.exe check
Error: project execution failed, consider restoring from scratch

Caused by:
    The system cannot find the file specified. (os error 2)

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

On a Windows 11 pro
a) download https://github.com/gefyrahq/gefyra/releases/download/2.2.0/gefyra-2.2.0-windows-x86_64.zip
b) unzip gefyra-2.2.0-windows-x86_64.zip
c) run .\gefyra.exe

What Kubernetes setup are you working with?

```console $ kubectl version # paste output here ```

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ``` BuildNumber Caption OSArchitecture Version 22631 Microsoft Windows 11 Pro 64-bit 10.0.22631 ```

Anything else we need to know?

No response

SteinRobert commented 4 months ago

I did try to reproduce this on a Windows 11 (Home though). I haven't been able to replicate this.

Could you try running gefyra.exe self restore?

Nucleus-MFelettigh commented 4 months ago

yes gefyra.exe self restore works thanks :) . Do you have an explanation ? just out of curiosity.

I used this procedure: Open a powersehll as administrator

cd $HOME/Downloads
Invoke-WebRequest "https://github.com/gefyrahq/gefyra/releases/download/2.2.0/gefyra-2.2.0-windows-x86_64.zip"  -OutFile "gefyra.zip"
Get-FileHash gefyra.zip

my SHA256 is "9A0991D97BC7FDEF6EC0122A0F16B031509E8E645558D739FC79839120026766"

Expand-Archive gefyra.zip -DestinationPath gefyra
cd gefyra\dist-exe
.\gefyra.exe

gefyra.exe self restore solved.

SteinRobert commented 4 months ago

To be fully honest I don't know why - it looks like a file got lost. gefyra self restore reinstalls the program basically. Glad it helped. If it happens again I'd be happy if you keep us posted!