[Github] Error - The jekyll-theme-hydejack theme could not be found. (_config.yml)

원인

  • 파일 : _config.yml
  • 메시지 : The jekyll-theme-hydejack theme could not be found.
  • 코드
theme: jekyll-theme-hydejack

해결방법

theme: jekyll-theme-hydejack : 주석 처리 -> remote_theme: hydecorp/hydejack@v9 추가

주석

테마를 찾을 수 없습니다 에러.
분명 학원에서는 잘 됐는데 집에 와서 확인해보려니 또 에러.
그래서 익숙하게 Action 항목으로 갔더니 테마를 찾을 수가 없다고 한다.
Logging at level: debug Configuration file: /github/workspace/./_config.yml 
Theme: jekyll-theme-hydejack github-pages 228 | Error: The jekyll-theme-hydejack theme could not be found.​

템플릿 잘못인듯 한데...
Error 문구를 구글링 해봤더니 나와 같은 현상을 겪고 있는 분이 스택에 올려두셨고,
그 스택을 토대로 고쳤더니 잘 빌드되었다.
이 템플릿 만든 사람도 문제를 알고 있었는지 이미 내가 추가하려고 했던 문장을 주석화해서 달아놨었더란 후문.

참고사이트

https://stackoverflow.com/questions/70654418/github-pages-build-error-the-jekyll-theme-hydejack-theme-could-not-be-found