Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

git-husky

sh: husky: command not found

July 10, 2023 by Tarik

If you are using nvm, you might want to create a file called .huskyrc in your home directory and add the following lines of code to it: ~/.huskyrc export NVM_DIR=”$HOME/.nvm” [ -s “$NVM_DIR/nvm.sh” ] && \. “$NVM_DIR/nvm.sh”

Categories node.js Tags git, git-husky, husky, node.js, npm Leave a comment

husky > pre-commit hook failed (add –no-verify to bypass)

March 9, 2023 by Tarik

Husky can prevent you from bad git commit, git push and more. If you are getting this error check your code syntax. In case you are getting this error even if your code is valid, please use the below solution. #Solution 1: Delete the .git/hooks folder and then do the npm install for reinstall husky. … Read more

Categories angular Tags angular, git, git-husky, husky, pre-commit-hook Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa