Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified



Troubleshooting

git pre-commit hook/husky

If running git commit shows the following:

husky > pre-commit (<node_version>)
error Command "install-if-no-packages" not found.
husky > pre-commit hook failed (add --no-verify to bypass)

Solution:

  1. remove all instances of node_module folder (if present):
cd <repo_root>test/e2e
find . -name 'node_modules' type -d -prune
rm -rf node_modules
  1. return to the and install all dependencies from there:
yarn install

Once complete, running git commit should no longer trigger the git pre-commit hook error.