There have been carried out in the git commit
Git: .git/hooks/pre-commit: line 2: ./node_modules/pre-commit/hook: No such file or directory
an errorRun the following command in the command line and press Enter to solve it.
npx husky install
Similar Posts:
- Sourcetree / git solves the problem of pre commit hook failed
- Solve the GIT commit error and bypass the code check
- Git missing Change-Id in commit message footer [How to Solve]
- remote: ERROR: [28b83b5] missing Change-Id in commit message footer
- [Solved] Git Error: pre -commit hook failed (add –no-verify to bypass)
- [Solved] Pull is not possible because you have unmerged files
- Screeps Server Install screepsmod-mongo Error: node\r file or directory does not exist
- NPM install socket.io[UNK][UNK] error: [UNK](npm WARN enoent ENOENT: no such file or directory, open ‘/usr/local/no…
- npm install: npm ERR! errno -4048, Error: EPERM: operation not permitted[How to Solve]
- Solve the problem that SVN update generates node remains in conflict