Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 husky 오류 #24

Closed
0gunkim opened this issue Jun 28, 2023 · 1 comment
Closed

🐛 husky 오류 #24

0gunkim opened this issue Jun 28, 2023 · 1 comment
Assignees
Labels
bug Something isn't working tip

Comments

@0gunkim
Copy link
Contributor

0gunkim commented Jun 28, 2023

husky가 git hook자동화를 도와주는 프로그램인데 오류가 납니다
정확한 오류원인을 찾지못해서 당분간 수동으로 사용하셔도되고 확장프로그램으로 깔려있는 prettier, eslint사용하시면 될듯합니다
수동 사용법은

  "format": "prettier --write --cache .",
// yarn format
  "lint": "eslint --cache ."
// yarn lint

아래같은 오류나 다른 오류가 있다면
package.json에서 아래코드 삭제, node_module폴더 삭제, 후 "yarn install"하시면 됩니다

"postinstall": "husky install", //삭제
.
.
.
devDependencis:{
"husky": "^8.0.3", //삭제

image

@0gunkim 0gunkim added bug Something isn't working tip labels Jun 28, 2023
@0gunkim 0gunkim self-assigned this Jun 28, 2023
@0gunkim
Copy link
Contributor Author

0gunkim commented Jun 29, 2023

husky error code 1.
typicode/husky#1014

husky error code 127.
typicode/husky#1038

@0gunkim 0gunkim closed this as completed Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tip
Projects
Status: 🥳 Done
Development

No branches or pull requests

1 participant