Valentin Kiselev
Valentin Kiselev
Hey @vanyauhalin ! Could you tell about your nodejs installation? Do you update PATH env in .bashrc to point to node? I think this is crucial for understanding the reasons...
Hmm, so `node_modules/.bin/` is dynamically added to PATH right? Is it pnpm, or fnm magic? Even with v0.7.7 version but without pnpm and fnm I can't run `eslint`. I guess...
Hey! Do you edit your PATH env in .bashrc or something? Or maybe you have an alias? How are `dart` and `flutter` installed on your system?
@art-solopov, did you write an alias in `.bashrc` or `.zshrc`? Lefthook uses `sh` as a shell, this might be a reason.
@qasim90 , could you provide more context? - Where does `flutter` locate? - What is your `lefthook.yml`? - What is your `lefthook` version? Maybe you have a public project, so...
Hey! Have you tried the new version of lefthook? >1.0?
@dekhanov ,how is lefthook installed on your system? With `yarn` / `npm` / just as a binary? Does it fail if you just run `lefthook run pre-push`? lefthook itself returns...
> No files matching the pattern "{files}" were found. This error was caused by `files` command. I will add more logging about it. Anyway, it shouldn't reproduce always. Than you...
Hey @ivancuric! Did you try v1 version of lefthook? Of course, this issue is rather stale but I just want to understand do we still have such a bug.
Hey! Could you share your code and/or `lefthook.yml` file?