-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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 problems on pre-commit after install #1418
Comments
My problem was generated because the project had spaces. I removed it and now works perfectly! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi people, I have some problems tring to use Husky.
My project is like the documentation:
husky
npx husky init
package.json
and I replaced the lineprepare
for"prepare": "cd .. && husky 'My Project/.husky'"
When I do this, only is creating a file
pre-commit
but I cannot see the folder_
I'm doing manually
npm run prepare
and now I can see the folder_
Finally I'm trying to do a commit but always I have the same error:
What I'm doing wrong. I'm trying in Linux, Mac and Windows and always I have the same problem or sometimes I'm receiving the message
.git can't be found
.Windows
In Windows is not generating the folder
_
and I received the error.git can't be found
. but I don't know how can I do to search the.git
in the root folder.Any help? @typicode
Thanks!
The text was updated successfully, but these errors were encountered: