갑자기 bundle exec jekyll serve가 안됩니다.
해결됨
깃헙 블로그(Github blog)로 차별화 된 나만의 홈페이지 만들기!
PS C:\project\ hwanklim.github.blog \ hwanklim.github.io \ hwanklim.github.io > bundle exec jekyll serve jekyll 4.3.2 | Error: (C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/_config.yml ): did not find expected key while parsing a block mapping at line 15 column 1 C:/Ruby32-x64/lib/ruby/3.2.0/psych/parser.rb:62:in `_native_parse': (C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/_config.yml ): did not find expected key while parsing a block mapping at line 15 column 1 (Psych::SyntaxError) from C:/Ruby32-x64/lib/ruby/3.2.0/psych/parser.rb:62:in `parse' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb:143:in `load' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb:157:in `block in load_file' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb:157:in `open' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb:157:in `load_file' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/jekyll-4.3.2/lib/jekyll/configuration.rb:129:in `safe_load_file' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/jekyll-4.3.2/lib/jekyll/configuration.rb:167:in `read_config_file' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/jekyll-4.3.2/lib/jekyll/configuration.rb:198:in `block in read_config_files' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/jekyll-4.3.2/lib/jekyll/configuration.rb:195:in `each' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/jekyll-4.3.2/lib/jekyll/configuration.rb:195:in `read_config_files' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/jekyll-4.3.2/lib/jekyll.rb:118:in `configuration' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:44:in `configuration_from_options' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/jekyll-4.3.2/lib/jekyll/commands/serve.rb:83:in `block (2 levels) in init_with_program' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/gems/jekyll-4.3.2/exe/jekyll:15:in `<top (required)>' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/bin/jekyll:25:in `load' from C:/project/ hwanklim.github.blog/hwanklim.github.io/hwanklim.github.io/vendor/bundle/ruby/3.2.0/bin/jekyll:25:in `<main>' 이런게 계속 뜨는데 뭐가 문제 인지 모르겠습니다. config.yml 파일도 딱히 오타가 안보여서 고민입니다. comments: provider : "disqus" # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "giscus", "custom" disqus: shortname : "hwanklimnote" discourse: server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org facebook: # https://developers.facebook.com/docs/plugins/comments appid : # num_posts : # 5 (default) colorscheme : # "light" (default), "dark" utterances: theme : # "github-light" (default), "github-dark" issue_term : # "pathname" (default) staticman: branch : # "master" endpoint : # "https://{your Staticman v3 API}/v3/entry/github/" 특히 15번 minimal_mistakes_skin부터 31번 comments까지 앞에 #만 붙여서 주석처리하면 bundle exec jekyll serve가 잘 돌아갑니다. 근데 comments의 어떤 부분이 문제인지는 모르겠습니다..
- 블로그
- github





