Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tenv Terragrunt on Windows - missing .exe extension #162

Closed
silic2020 opened this issue Jun 11, 2024 · 9 comments
Closed

tenv Terragrunt on Windows - missing .exe extension #162

silic2020 opened this issue Jun 11, 2024 · 9 comments
Labels
bug Something isn't working os: windows

Comments

@silic2020
Copy link

Describe the bug
Tenv Terragrunt installed with chocolatey does not work on Windows.
To resolve, you have to rename yourself the executable file , by adding the .exe.

To Reproduce
Steps to reproduce the behavior:

  1. install tenv with chocolatey : choco install tenv
  2. install Terragrunt last version : tenv tg install
  3. try to use Terragrunt : Terragrunt init
  4. You'll get this error :
    Failure during terragrunt call : exec: "C:\Users\xxxxxx\.tenv\Terragrunt\0.58.14\terragrunt": file does not exist

Additional context
Open the executable file location (here in folder C:\Users\xxxxxx.tenv\Terragrunt\0.58.14).
Rename terragrunt by terragrunt.exe , terragrunt will work fine now

@kvendingoldo kvendingoldo added the bug Something isn't working label Jun 11, 2024
@kvendingoldo
Copy link
Collaborator

we'll fix it soon, that you for reporting

@kvendingoldo
Copy link
Collaborator

hmm, that's strange, I see that we add extension here

nameBuilder.WriteString(".exe")

we'll continue to investigate it

@kvendingoldo
Copy link
Collaborator

@kvendingoldo
Copy link
Collaborator

@silic2020 may I ask you to try version 2.0.4 when it will be available at choco, please?

@silic2020
Copy link
Author

@silic2020 may I ask you to try version 2.0.4 when it will be available at choco, please?

@kvendingoldo I've tried with the latest version 2.0.5. The error is the same : "file does not exist". The file extension ".exe" is now present, but the terragrunt file is incorrectly named. Instead of having "terragrunt.exe" I get "terragrunt_windows_amd64.exe"

@kvendingoldo
Copy link
Collaborator

got it, will fix it today.

@kvendingoldo
Copy link
Collaborator

#168
@silic2020 can you check the version 2.0.6, please?

@dvaumoron
Copy link
Contributor

v2.0.7 work on Windows (I tested on a x86_64)

@silic2020
Copy link
Author

also tested with v.20.7, thks it works great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working os: windows
Projects
None yet
Development

No branches or pull requests

3 participants