Husky gives npm: command not found when running via VS Code #1236
Replies: 3 comments
-
|
What do you get if you run |
Beta Was this translation helpful? Give feedback.
-
It works! 🙂 |
Beta Was this translation helpful? Give feedback.
-
|
I have same issue, I read this article https://typicode.github.io/husky/how-to.html#node-version-managers-and-guis And make In my pre-commit hook i have But it is not working - still have: Also now event commit from zsh not working with same error: How can i fix that? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Ever since I updated my Mac to Ventura, husky stopped working via VS Code commit/commit & sync.
It works perfectly when run via terminal.
My pre-commit file content
Error
Any solution?
EDIT:
Got resolved automatically after restart.
Beta Was this translation helpful? Give feedback.
All reactions