1. EasyHost
  2. Errors
  3. husky fails during install

husky fails during install

A prepare script expects a Git repository or a tool that is not present in the build. .git is not uploaded.

Last updated November 9, 2026

The error

sh: husky: not found

Why it happens

A prepare script expects a Git repository or a tool that is not present in the build. .git is not uploaded.

How to fix it

Make the script safe when Git is absent.

"prepare": "husky || true"

Still stuck

Read the build log and runtime logs, or browse all errors.

Start for free

Install the skill, choose Global or Local, then tell your agent to deploy. No credit card, no config files.

npx ezhst skill install