𝙶𝚒𝚝𝙷𝚞𝚋

[Error : Github build failed] theme could not be found.

해버니 2023. 7. 21. 11:57
반응형

문제 Github build failed : theme could not be found.

 

 

 

 

jekyll 테마를 github.io 폴더에 옮겨 놓고 커밋을 하니 

Some chekcs were not successful이 떴다. 

 

 

 

 

Details를 눌러 들어가봤다.

 

 

 

 

 

 

 

 

 

에러메시지

github-pages 228 | Error:  The jekyll-agency theme could not be found.

theme를 찾을 수 없다고 했다. 

 

 

 

 

 

 

에러 해결 

 

1-1. 본인이 생성한 github.io repository에 들어간다.

Settings → Pages → Build and deployment에서 select박스 클릭 후 GitHub Actions 클릭 

 

 

 

 

 

 

바로 밑에 Jekyll이 나오는데 Configure 클릭

 

 

 

 

 

 

 

맨 오른쪽에 있는 Commit changes... 클릭

 

 

 

 

 

 

드디어... x표시가 아닌 ✅ 표시가 떴다.

한 번 소리질러볼까요? 오예~!!!

 

 

 

 

 

 

 

 

 

에필로그...

하지만..난.. 해결하기 전에 아주 이상한 곳을 고치려고 했던거지..

해결 안 된 해결방법들(?)

 

 

1. bundle install

 

2. _config.yml파일에서

url    : "https://haeburney.github.io/" 추가

안됐다..

 

 

 Build Warning: Layout 'post' requested in _posts/2023-07-18-welcome-to-jekyll.markdown does not exist.
          Conflict: The following destination is shared by multiple files.
                    The written file may end up with unexpected contents.
                    C:/Users/4ckdn/OneDrive/문서/GitHub/haeburney.github.io/_site/index.html
                     - index.markdown
                     - index.md

 

3. index.markdown 제거

안됐다..

하지만 지우긴했어야 했다.

 

 

4. gem install jekyll-agency

bundle install

안됐다..

 

 

 

반응형