шестнадцатеричное развертывание на страницах github не удается

Я хочу развернуть hexo на странице github: https://chenjuexu.github.io/

Но это не сработало, как показано ниже:

$ hexo generate FATAL YAMLException: невозможно прочитать запись сопоставления блоков; многострочный ключ не может быть неявным ключом (107:18)

Просто отмените его, потому что его версия обновлена

at generateError (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\js-yaml\lib\loader.js:183:10)
at throwError (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\js-yaml\lib\loader.js:187:9)
at readBlockMapping (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\js-yaml\lib\loader.js:1145:9)
at composeNode (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\js-yaml\lib\loader.js:1441:12)
at readBlockMapping (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\js-yaml\lib\loader.js:1164:11)
at composeNode (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\js-yaml\lib\loader.js:1441:12)
at readDocument (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\js-yaml\lib\loader.js:1625:3)
at loadDocuments (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\js-yaml\lib\loader.js:1688:5)
at Object.load (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\js-yaml\lib\loader.js:1714:19)
at Hexo.yamlHelper (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\hexo\lib\plugins\renderer\yaml.js:7:15)
at Hexo.tryCatcher (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\bluebird\js\release\util.js:16:23)
at Hexo.<anonymous> (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\bluebird\js\release\method.js:15:34)
at C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\hexo\lib\hexo\render.js:75:22
at tryCatcher (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\bluebird\js\release\promise.js:547:31)       
at Promise._settlePromise (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\Walter\Desktop\Hexo blogger\blog\node_modules\bluebird\js\release\async.js:15:14) {

пакет.json:

_config.yml:

{
  "name": "hexo-site",
  "version": "0.0.0",
  "private": true,
  "scripts": {
    "build": "hexo generate",
    "clean": "hexo clean",
    "deploy": "hexo deploy",
    "server": "hexo server"
  },
  "hexo": {
    "version": "5.4.0"
  },
  "dependencies": {
    "hexo": "^5.0.0",
    "hexo-deployer-git": "^3.0.0",
    "hexo-generator-archive": "^1.0.0",
    "hexo-generator-category": "^1.0.0",
    "hexo-generator-index": "^2.0.0",
    "hexo-generator-tag": "^1.0.0",
    "hexo-renderer-ejs": "^1.0.0",
    "hexo-renderer-marked": "^4.0.0",
    "hexo-renderer-stylus": "^2.0.0",
    "hexo-server": "^2.0.0",
    "hexo-theme-landscape": "^0.0.3"
  }
}

104 | развернуть: 105 | тип: git 106 | репозиторий: https://github.com/chenjuexu/chenjuexu.gi ... 107 | ветка: gh-страницы

# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: Zen Planet
subtitle: ""
description: ""
keywords:
author: Juexu Chen
language: en
timezone: "America/Toronto"

# URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
url: http://example.com
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
  trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
  trailing_html: true # Set to false to remove trailing '.html' from permalinks

# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:

# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
  enable: true # Open external links in new tab
  field: site # Apply to the whole site
  exclude: ""
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
  enable: true
  line_number: true
  auto_detect: false
  tab_replace: ""
  wrap: true
  hljs: false
prismjs:
  enable: false
  preprocess: true
  line_number: true
  tab_replace: ""

# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
  path: ""
  per_page: 10
  order_by: -date

# Category & Tag
default_category: uncategorized
category_map:
tag_map:

# Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true

# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports 'mtime', 'date', 'empty'
updated_option: "mtime"

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder
include:
exclude:
ignore:

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: landscape

# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
  type: git
  repo:https://github.com/chenjuexu/chenjuexu.github.io.git
  branch:gh-pages

person juexu    schedule 07.06.2021    source источник


Ответы (1)


причина: 'не удается прочитать запись сопоставления блоков; многострочный ключ не может быть неявным ключом', mark: { name: null, buffer: '# Hexo Configuration\n' + '## Docs: https://hexo.io/docs/configuration.html%5Cn%27 + '## Источник: https://github.com/hexojs/hexo/%5Cn%27 + '\n' + '# Сайт\n' + 'title: Zen Planet\n' + 'subtitle: \n' + 'description: \n' + 'keywords:\n' + 'автор: Juexu Chen\n' + 'language: en\n' + 'timezone: Америка/Торонто\n' + '\n' + '# URL\n' + ## Укажите здесь URL своего сайта. Например, если вы используете страницу GitHub, установите URL-адрес как «https://username.github.io/project»\n + «url: http://example.com\n» + «постоянная ссылка:: год/: месяц». /:day/:title/\n' + 'permalink_defaults:\n' + 'pretty_urls:\n' + trailing_index: true # Установите значение false, чтобы удалить завершающий 'index.html' из постоянных ссылок\n + trailing_html: true # Установить в false, чтобы удалить конечный '.html' из постоянных ссылок\n + '\n' + '# Directory\n' + 'source_dir: source\n' + 'public_dir: public\n' + 'tag_dir: tags\n' + 'archive_dir: архивы\n' + 'category_dir: категории\n' + 'code_dir: загрузки/код\n' + 'i18n_dir: :lang\n' + 'skip_render:\n' + '\n' + '# Запись \n' + 'new_post_name: :title.md # Имя файла новых сообщений\n' + 'default_layout: post\n' + 'titlecase: false # Преобразование title в titlecase\n' + 'external_link:\n' + ' enable: true # Открывать внешние ссылки в новой вкладке\n' + ' field: site # Применить ко всему сайту\n' + ' exclude: \n' + 'filename_case: 0\n' + 'render_drafts: false\n' + 'post_asset_folder: false\n' + 'relative_l ink: false\n' + 'future: true\n' + 'highlight:\n' + ' enable: true\n' + ' line_number: true\n' + ' auto_detect: false\n' + ' tab_replace: \ n' + ' wrap: true\n' + ' hljs: false\n' + 'prismjs:\n' + ' enable: false\n' + ' preprocess: true\n' + ' line_number: true\n' + ' tab_replace: \n' + '\n' + '# Настройка домашней страницы\n' + # путь: Корневой путь для индексной страницы вашего блога. (по умолчанию = '')\n + '# per_page: сообщения отображаются на странице. (0 = отключить нумерацию страниц)\n' + '# order_by: порядок публикаций. (Упорядочить по дате по убыванию по умолчанию)\n' + 'index_generator:\n' + ' path: \n' + ' per_page: 10\n' + ' order_by: -date\n' + '\n' + '# Категория и тег\n' + 'default_category: uncategorized\n' + 'category_map:\n' + 'tag_map:\n' + '\n' + '# Элементы метаданных\n' + '## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta%5Cn%27 + 'meta_generator: true\n' + '\n' + '# Формат даты/времени\n' + '## Hexo использует Moment.js для анализа и отображать дату\n' + '## Вы можете настроить формат даты, как указано в\n' + '## http://momentjs.com/docs/#/displaying/format/%5Cn%27 + 'date_format: YYYY-MM-DD\n' + 'time_format: HH:mm :ss\n' + ## updated_option поддерживает 'mtime', 'date', 'пусто'\n + 'updated_option: mtime\n' + '\n' + '# Pagination\n' + '## Установить для каждой страницы значение 0, чтобы отключить нумерацию страниц\n' + 'per_page: 10\n' + 'pagination_dir: page\n' + '\n' + '# Включить/исключить файл(ы)\n' + ## include:/exclude: опции применяются только к папке 'source/'\n + 'include:\ n' + 'исключить:\n' + 'игнорировать:\n' + '\n' + '# Расширения\n' + '## Плагины: https://hexo.io/plugins/%5Cn%27 + '## Темы: https://hexo.io/themes/%5Cn%27 + 'theme: landscape\n' + '\n' + '# Развертывание\n' + ' ## Документы: https://hexo.io/docs/one-command-deployment%5Cn%27 + 'развертывание:\n' + ' тип: git\n' + ' репозиторий:https://github.com/chenjuexu/chenjuexu.github.io.git%5Cn%27 + ' branch:gh-pages\n', position: 2542, строка: 106, столбец: 17, фрагмент: ' 104 | развернуть:\n' + ' 105 | тип: git\n' + ' 106 | репозиторий: https://github.com/chenjuexu/chenjuexu.gi . ..\n' + ' 107 | ветка: gh-pages\n' + '------------------------^' } }

person juexu    schedule 14.06.2021