Arcath / jekyll-atom

A collection of tools and snippets for working with Jekyll in Atom
https://atom.io/packages/jekyll
MIT License
49 stars 19 forks source link

Uncaught YAML Exception: duplicated mapping key at line 93, column -230: jekyll-archives: ^ #83

Open YJPL opened 4 years ago

YJPL commented 4 years ago

Got this error when trying to write a new post in Atom:

Atom: 1.45.0 x64 Electron: 4.2.7 OS: Mac OS X 10.15.3 Thrown From: jekyll package 2.1.0

Stack Trace

Uncaught YAML Exception: duplicated mapping key at line 93, column -230: jekyll-archives: ^

At /Users/name/.atom/packages/jekyll/node_modules/js-yaml/lib/js-yaml/loader.js:171

YAMLException: duplicated mapping key at line 93, column -230:
    jekyll-archives:
    ^
    at generateError (/packages/jekyll/node_modules/js-yaml/lib/js-yaml/loader.js:165:10)
    at throwError (/packages/jekyll/node_modules/js-yaml/lib/js-yaml/loader.js:171:9)
    at storeMappingPair (/packages/jekyll/node_modules/js-yaml/lib/js-yaml/loader.js:308:7)
    at readBlockMapping (/packages/jekyll/node_modules/js-yaml/lib/js-yaml/loader.js:1071:9)
    at composeNode (/packages/jekyll/node_modules/js-yaml/lib/js-yaml/loader.js:1332:12)
    at readDocument (/packages/jekyll/node_modules/js-yaml/lib/js-yaml/loader.js:1492:3)
    at loadDocuments (/packages/jekyll/node_modules/js-yaml/lib/js-yaml/loader.js:1548:5)
    at load (/packages/jekyll/node_modules/js-yaml/lib/js-yaml/loader.js:1569:19)
    at Object.safeLoad (/packages/jekyll/node_modules/js-yaml/lib/js-yaml/loader.js:1591:10)
    at Object.handleConfigFileOpen (/packages/jekyll/lib/jekyll/utils.coffee:27:40)
    at /packages/jekyll/lib/jekyll/utils.coffee:22:21
    at FSReqWrap.oncomplete (fs.js:141:20)

Commands

  2x -4:02.6.0 editor:newline (input.hidden-input)
  6x -4:00.5.0 core:backspace (input.hidden-input)
     -3:29.2.0 core:save (input.hidden-input)
  2x -3:25.2.0 core:backspace (input.hidden-input)
 16x -3:05.0 core:move-right (input.hidden-input)
     -2:42 core:paste (input.hidden-input)
     -2:37.9.0 core:save (input.hidden-input)
     -2:20.2.0 core:paste (input.hidden-input)
     -2:19.3.0 application:quit (input.hidden-input)
  4x -2:16.9.0 core:save (input.hidden-input)
     -1:02.0 core:backspace (input.hidden-input)
     -1:00.6.0 core:undo (input.hidden-input)
     -1:00.1.0 core:move-right (input.hidden-input)
     -0:59.8.0 core:backspace (input.hidden-input)
  5x -0:58.8.0 core:save (input.hidden-input)
     -0:19.1.0 jekyll:new-post (div.tool-panel.tree-view)

Non-Core Packages

jekyll 2.1.0