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

Husky complains about missing envsubst command even though it is clearly installed #1559

Open
janheyd-buchner opened this issue Feb 13, 2025 · 0 comments

Comments

@janheyd-buchner
Copy link

Husky complains about missing envsubst command even though it is clearly installed:

> git rebase -i HEAD
HEAD is now at 5d29aadcf feat: add resumption-form dev template
Missing envsubst command. You should try to install it and re-run this script.

   macOS: Get homebrew and run: brew install gettext
  Ubuntu: apt install gettext-base
/usr/bin/envsubst
husky - post-checkout script failed (code 1)
error: could not detach HEAD
> which envsubst
/usr/bin/envsubst

The rebase is a dummy noop command just to demonstrate the issue.

Context
Environment: Bash inside Ubuntu WSL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant