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

'"node"' is not recognized as an internal or external command, #1501

Open
1 task done
Jay-Karia opened this issue Aug 29, 2024 · 2 comments
Open
1 task done

'"node"' is not recognized as an internal or external command, #1501

Jay-Karia opened this issue Aug 29, 2024 · 2 comments

Comments

@Jay-Karia
Copy link

Troubleshoot

If you're migrating from husky 4, see:
https://typicode.github.io/husky/migrate-from-v4.html

Context
Please describe your issue and provide some context:

  • Terminal or GUI client (PowerShell, Git Bash, GitHub Desktop, ...)
  • If applicable, content of the failing hook
  • If possible, minimal steps to reproduce the issue

Console Log:

'"node"' is not recognized as an internal or external command,
operable program or batch file.
husky - pre-commit script failed (code 1)

Screenshot

precommit

Note: Same issue in different language (#1276)

@typicode
Copy link
Owner

Most probably node was not found in PATH. You can add echo $PATH at the top of pre-commit to check the value.

@Jay-Karia
Copy link
Author

husky

Maybe it's configured!

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

2 participants