Browse Source

fix(husky): Prevent the verify error on commit. (#10536)

If I initial my project by execute: pnpm install (not the npm install), Then use git commit, it'll always result an error:

✔ Preparing...
✔ Running tasks...
✔ Applying modifications...
✔ Cleaning up...
npm ERR! could not determine executable to run

npm ERR! A complete log of this run can be found in:
husky - commit-msg hook exited with code 1 (error)

so I add a missed dev-depency: @umijs/facrib, It's solved.
pull/10556/head
Buddy John 3 years ago
committed by GitHub
parent
commit
df8bcbd22d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      package.json

1
package.json

@ -73,6 +73,7 @@
"@types/react": "^18.0.0", "@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0", "@types/react-dom": "^18.0.0",
"@types/react-helmet": "^6.1.5", "@types/react-helmet": "^6.1.5",
"@umijs/facrib": "^2.14.1",
"@umijs/lint": "^4.0.34", "@umijs/lint": "^4.0.34",
"@umijs/max": "^4.0.33", "@umijs/max": "^4.0.33",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",

Loading…
Cancel
Save