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

[hotfix] husky에서 byul 설치 실패하는 현상 #68

Closed
1 task
nakyeonko3 opened this issue Sep 26, 2024 · 0 comments
Closed
1 task

[hotfix] husky에서 byul 설치 실패하는 현상 #68

nakyeonko3 opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels
hotFix 긴급 버그 수정, 긴급 수정, main에 바로 merge

Comments

@nakyeonko3
Copy link
Collaborator

📄 Description

현상: [hotfix] husky에서 byul 설치 실패하는 현상 발생
원인: 더이상 husky가 husky add를 지원하지 않음.

devquiz on  chore/husky-byul-33 [$!?] via  v22.5.1 took 7s 
❯ pnpm i byul
 WARN  deprecated eslint-plugin-import-order@2.1.4: Use eslint-plugin-import instead (order rule)
 WARN  5 deprecated subdependencies found: @humanwhocodes/config-array@0.13.0, @humanwhocodes/object-schema@2.0.3, glob@7.2.3, inflight@1.0.6, rimraf@3.0.2
Packages: +9
+++++++++
Progress: resolved 639, reused 586, downloaded 8, added 9, done
node_modules/.pnpm/byul@2.0.3/node_modules/byul: Running preinstall script, failed in 300ms
.../.pnpm/byul@2.0.3/node_modules/byul preinstall$ node dist/setup.mjs
│ add command is DEPRECATED
│ Failed to set up the commit message hook: Command failed: npx husky add /home/badac/works/devquiz/.husky…
│ add command is DEPRECATED
└─ Failed in 300ms at /home/badac/works/devquiz/node_modules/.pnpm/byul@2.0.3/node_modules/byul
 ELIFECYCLE  Command failed with exit code 1.

✅ Tasks

  • setup.mjs 수정

📝 Notes

No response

@nakyeonko3 nakyeonko3 added the hotFix 긴급 버그 수정, 긴급 수정, main에 바로 merge label Sep 26, 2024
nakyeonko3 added a commit that referenced this issue Sep 26, 2024
- setup.mjs에서 npx husky add를 이용해서 byul 스크립트를 설치할 때
  오류가 생김.
- npx husky add가 더이상 지원되지 않는 명령어라서 이런 에러가 발생
- setup.mjs에서 echo 'node node_modules/byul/dist/index.js "$1" "$2" "$3"' >
  ${hookFile} 로 수정함.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotFix 긴급 버그 수정, 긴급 수정, main에 바로 merge
Projects
None yet
Development

No branches or pull requests

1 participant