xaoxuu / hexo-theme-stellar

内置文档系统的简约商务风Hexo主题,支持大量的标签组件和动态数据组件。
https://xaoxuu.com/wiki/stellar/
MIT License
1.37k stars 331 forks source link

Github action生成网页文件失败,显示stellar主题代码有语法错误 #242

Closed vincentzhu007 closed 1 year ago

vincentzhu007 commented 1 year ago

使用hexo + stellar主题生成静态网站,本地hexo server预览正常,hexo genarate生成public文件正常。

但是将代码push到github仓,触发github actions部署网站任务时,deploy job报错。

Github actions配置如下:

name: Deploy

on: [push]

jobs:
  build:
    name: A job to deploy blog.
    runs-on: ubuntu-latest
    strategy:
      matrix:
        os: [ubuntu-latest]
        node_version: [16.x]
    steps:
    - name: Checkout
      uses: actions/checkout@v2
      with:
        submodules: true # Checkout private submodules(themes or something else).
    - name: Use Node.js ${{ matrix.node_version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node_version }}
    # Caching dependencies to speed up workflows. (GitHub will remove any cache entries that have not been accessed in over 7 days.)
    - name: Cache node modules
      uses: actions/cache@v1
      id: cache
      with:
        path: node_modules
        key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
        restore-keys: |
          ${{ runner.os }}-node-
    - name: Install Dependencies
      if: steps.cache.outputs.cache-hit != 'true'
      run: npm ci
    - name: Show hexo version
      run: |
        npx hexo --version
    # Deploy hexo blog website.
    - name: Deploy
      id: deploy
      uses: sma11black/hexo-action@v1.0.3
      with:
        deploy_key: ${{ secrets.DEPLOY_KEY }}
        user_name: Vincent Zhu  # (or delete this input setting to use bot account)
        user_email: VincentZhu007@gmail.com  # (or delete this input setting to use bot account)
        commit_msg: ${{ github.event.head_commit.message }}  # (or delete this input setting to use hexo default settings)
    # Use the output from the `deploy` step(use for test action)
    - name: Get the output
      run: |
        echo "${{ steps.deploy.outputs.notify }}"

github环境依赖包版本如下:

Run npx hexo --version
  npx hexo --version
  shell: /usr/bin/bash -e {0}
INFO  Validating config
INFO  Welcome to Stellar 1.18.5
DOCS  https://xaoxuu.com/wiki/stellar/
REPO  https://github.com/xaoxuu/hexo-theme-stellar.git

hexo: 6.3.0
hexo-cli: 4.3.0
os: linux 5.15.0-1030-azure Ubuntu [2](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:7:2)2.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
node: 16.19.0
v8: 9.4.146.26-node.24
uv: 1.4[3](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:7:3).0
zlib: 1.2.11
brotli: 1.0.9
ares: 1.18.1
modules: 93
nghttp2: 1.[4](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:7:5)7.0
napi: 8
llhttp: [6](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:7:7).0.10
openssl: 1.1.1s+quic
cldr: 41.0
icu: [7](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:7:8)1.1
tz: 2022f
unicode: 14.0
ngtcp2: 0.[8](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:7:9).1
nghttp3: 0.7.0

报错如下:

Run sma11black/hexo-action@v1.0.3
/usr/bin/docker run --name ea425bc5628891eb3a4842b3[7](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:8)4aca9677c3c42_e3e3f9 --label ea425b --workdir /github/workspace --rm -e "INPUT_DEPLOY_KEY" -e "INPUT_USER_NAME" -e "INPUT_USER_EMAIL" -e "INPUT_COMMIT_MSG" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/hexo-summary/hexo-summary":"/github/workspace" ea425b:c562[8](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:9)891eb3a4842b374aca9677c3c42  "Vincent Zhu" "VincentZhu007@gmail.com" "***" "move old posts to _backup to test github actions"
# github.com:22 SSH-2.0-babeld-a17d9d27
/usr/local/bin/hexo -> /usr/local/lib/node_modules/hexo-cli/bin/hexo
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/hexo-cli/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ hexo-cli@4.3.0
added 5[9](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:10) packages from 51 contributors in 4.415s
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@3. I'll try to do my best with it!
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ hexo-deployer-git@3.0.0
updated 1 package and audited 241 packages in 1.429s

22 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Sync start...
Located a single repo: git@github.com:vincentzhu007/vincentzhu007.github.io,main.
Sync done

Cloning into '/github/workspace/.deploy_git'...
Warning: Permanently added the RSA host key for IP address '140.82.114.3' to the list of known hosts.
undefined
INFO  Validating config
ERROR Script load failed: themes/stellar/scripts/generators/search.js
/github/workspace/themes/stellar/scripts/generators/search.js:11
  cfg.field = cfg.field?.trim()
                        ^

SyntaxError: Unexpected token '.'
    at new Script (vm.js:88:7)
    at createScript (vm.js:261:[10](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:11))
    at runInThisContext (vm.js:309:10)
    at /github/workspace/node_modules/hexo/lib/hexo/index.js:303:18
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/github/workspace/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:461:21)
ERROR Script load failed: themes/stellar/scripts/tags/index.js
/github/workspace/themes/stellar/scripts/tags/lib/tag.js:17
    const default_color = ctx.theme.config.tag_plugins.tag?.default_color
                                                           ^

SyntaxError: Unexpected token '.'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at req (/github/workspace/node_modules/hexo/lib/hexo/index.js:292:23)
    at /github/workspace/themes/stellar/scripts/tags/index.js:35:33
    at /github/workspace/node_modules/hexo/lib/hexo/index.js:305:14
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/github/workspace/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:461:21)
ERROR Script load failed: themes/stellar/scripts/tags/lib/tag.js
/github/workspace/themes/stellar/scripts/tags/lib/tag.js:17
    const default_color = ctx.theme.config.tag_plugins.tag?.default_color
                                                           ^

SyntaxError: Unexpected token '.'
    at new Script (vm.js:88:7)
    at createScript (vm.js:261:10)
    at runInThisContext (vm.js:309:10)
    at /github/workspace/node_modules/hexo/lib/hexo/index.js:303:18
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/github/workspace/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:461:21)
INFO  Welcome to Stellar 1.18.5
DOCS  https://xaoxuu.com/wiki/stellar/
REPO  https://github.com/xaoxuu/hexo-theme-stellar.git

INFO  Start processing
ERROR Process failed: layout/_partial/widgets/markdown.ejs
SyntaxError: Unexpected token '.' in /github/workspace/themes/stellar/layout/_partial/widgets/markdown.ejs while compiling ejs

If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJS-Lint
Or, if you meant to create an async function, pass `async: true` as an option.
    at new Function (<anonymous>)
    at Template.compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12)
    at Object.compile (/github/workspace/node_modules/ejs/lib/ejs.js:398:16)
    at Function.ejsRenderer.compile (/github/workspace/node_modules/hexo-renderer-ejs/lib/renderer.js:10:14)
    at _View._precompile (/github/workspace/node_modules/hexo/lib/theme/view.js:129:33)
    at new View (/github/workspace/node_modules/hexo/lib/theme/view.js:27:10)
    at new _View (/github/workspace/node_modules/hexo/lib/theme/index.js:33:5)
    at Theme.setView (/github/workspace/node_modules/hexo/lib/theme/index.js:65:18)
    at /github/workspace/node_modules/hexo/lib/theme/processors/view.js:14:14
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/github/workspace/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:461:21)
ERROR Process failed: layout/_partial/widgets/recent.ejs
SyntaxError: Unexpected token '.' in /github/workspace/themes/stellar/layout/_partial/widgets/recent.ejs while compiling ejs

If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJS-Lint
Or, if you meant to create an async function, pass `async: true` as an option.
    at new Function (<anonymous>)
    at Template.compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12)
    at Object.compile (/github/workspace/node_modules/ejs/lib/ejs.js:398:16)
    at Function.ejsRenderer.compile (/github/workspace/node_modules/hexo-renderer-ejs/lib/renderer.js:10:14)
    at _View._precompile (/github/workspace/node_modules/hexo/lib/theme/view.js:129:33)
    at new View (/github/workspace/node_modules/hexo/lib/theme/view.js:27:10)
    at new _View (/github/workspace/node_modules/hexo/lib/theme/index.js:33:5)
    at Theme.setView (/github/workspace/node_modules/hexo/lib/theme/index.js:65:18)
    at /github/workspace/node_modules/hexo/lib/theme/processors/view.js:14:14
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/github/workspace/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:461:21)
ERROR Process failed: layout/_partial/widgets/search.ejs
SyntaxError: Unexpected token '.' in /github/workspace/themes/stellar/layout/_partial/widgets/search.ejs while compiling ejs

If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJS-Lint
Or, if you meant to create an async function, pass `async: true` as an option.
    at new Function (<anonymous>)
    at Template.compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12)
    at Object.compile (/github/workspace/node_modules/ejs/lib/ejs.js:398:16)
    at Function.ejsRenderer.compile (/github/workspace/node_modules/hexo-renderer-ejs/lib/renderer.js:10:14)
    at _View._precompile (/github/workspace/node_modules/hexo/lib/theme/view.js:129:33)
    at new View (/github/workspace/node_modules/hexo/lib/theme/view.js:27:10)
    at new _View (/github/workspace/node_modules/hexo/lib/theme/index.js:33:5)
    at Theme.setView (/github/workspace/node_modules/hexo/lib/theme/index.js:65:18)
    at /github/workspace/node_modules/hexo/lib/theme/processors/view.js:14:14
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/github/workspace/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:461:21)
ERROR Process failed: layout/_partial/plugins/comments/waline/script.ejs
SyntaxError: Unexpected token '.' in /github/workspace/themes/stellar/layout/_partial/plugins/comments/waline/script.ejs while compiling ejs

If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJS-Lint
Or, if you meant to create an async function, pass `async: true` as an option.
    at new Function (<anonymous>)
    at Template.compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12)
    at Object.compile (/github/workspace/node_modules/ejs/lib/ejs.js:398:16)
    at Function.ejsRenderer.compile (/github/workspace/node_modules/hexo-renderer-ejs/lib/renderer.js:10:14)
    at _View._precompile (/github/workspace/node_modules/hexo/lib/theme/view.js:129:33)
    at new View (/github/workspace/node_modules/hexo/lib/theme/view.js:27:10)
    at new _View (/github/workspace/node_modules/hexo/lib/theme/index.js:33:5)
    at Theme.setView (/github/workspace/node_modules/hexo/lib/theme/index.js:65:18)
    at /github/workspace/node_modules/hexo/lib/theme/processors/view.js:14:14
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/github/workspace/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:461:21)
INFO  Files loaded in 263 ms
ERROR Render HTML failed: 404.html
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    [11](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:12)|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:[12](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:13)), <anonymous>:103:15)
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:17)
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:[13](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:14)2:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
ERROR Render HTML failed: 2023/01/[14](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:15)/hello-world/index.html
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    11|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:103:[15](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:16))
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:17)
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:132:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:[16](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:17):23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
ERROR Render HTML failed: archives/index.html
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    11|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:103:15)
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:[17](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:18))
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:132:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:[18](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:19))
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
ERROR Render HTML failed: archives/2023/index.html
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    11|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:103:15)
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:17)
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:132:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
ERROR Render HTML failed: archives/2023/01/index.html
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    11|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:103:15)
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:17)
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:132:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
ERROR Render HTML failed: index.html
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    11|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:103:15)
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:17)
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:132:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
ERROR 
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    11|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:103:15)
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:17)
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:132:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
ERROR 
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    11|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:103:15)
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:17)
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:132:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
ERROR 
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    11|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:103:15)
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:17)
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:132:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
ERROR 
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    11|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:103:15)
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:17)
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:132:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
ERROR 
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    11|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:103:15)
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:17)
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:132:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
ERROR 
Error: /github/workspace/themes/stellar/layout/layout.ejs:8
    6|   <div class='l_body' id='start'>
    7|     <aside class='l_left' layout='<%- page.layout %>'>
 >> 8|     <%- partial('_partial/sidebar/index') %>
    9|     </aside>
    10|     <div class='l_main<%- page.content ? "" : " list" %>'>
    11|       <%- partial('_partial/main/header/index') %>

/github/workspace/themes/stellar/layout/_partial/sidebar/index.ejs:141
    139|   <%- partial('header', {where: 'sidebar'}) %>
    140| <% } %>
 >> 141| <%- layoutWidgets() %>
    142| <%- layoutFooterDiv() %>
    143| 

Partial ../widgets/search does not exist. (in _partial/sidebar/index.ejs)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:16:11)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:103:15)
    at Array.forEach (<anonymous>)
    at layoutWidgets (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:88:18)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:157:17)
    at index (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiledSync (/github/workspace/node_modules/hexo/lib/theme/view.js:132:24)
    at _View.renderSync (/github/workspace/node_modules/hexo/lib/theme/view.js:59:25)
    at Object.partial (/github/workspace/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (eval at compile (/github/workspace/node_modules/ejs/lib/ejs.js:673:12), <anonymous>:22:17)
    at layout (/github/workspace/node_modules/ejs/lib/ejs.js:703:17)
    at _View._compiled (/github/workspace/node_modules/hexo/lib/theme/view.js:136:50)
    at _View.render (/github/workspace/node_modules/hexo/lib/theme/view.js:39:17)
    at /github/workspace/node_modules/hexo/lib/theme/view.js:51:25
    at tryCatcher (/github/workspace/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/github/workspace/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/github/workspace/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/github/workspace/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/github/workspace/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/github/workspace/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/github/workspace/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/github/workspace/node_modules/bluebird/js/release/async.js:102:5)
INFO  Generated: archives/index.html
INFO  Generated: archives/2023/index.html
INFO  Generated: archives/2023/01/index.html
INFO  Generated: 404.html
INFO  Generated: index.html
INFO  Generated: js/main.js
INFO  Generated: js/plugins/fcircle.js
INFO  Generated: js/search/local-search.js
INFO  Generated: js/plugins/friends.js
INFO  Generated: js/plugins/ghinfo.js
INFO  Generated: js/plugins/linkcard.js
INFO  Generated: js/plugins/sites.js
INFO  Generated: js/plugins/timeline.js
INFO  Generated: js/plugins/weibo.js
INFO  Generated: 2023/01/14/hello-world/index.html
INFO  Generated: css/main.css
INFO  16 files generated in 6[19](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:20) ms
INFO  Deploying: git
INFO  Clearing .deploy_git folder...
INFO  Copying files from public folder...
INFO  Copying files from extend dirs...
[main 69bb702] move old posts to _backup to test github actions
 36 files changed, 0 insertions(+), 0 deletions(-)
 delete mode 100644 [20](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:21)22/07/20/design-pattern-01-startup/index.html
 delete mode 100644 2022/07/20/design-pattern-02-simple-factory/index.html
 delete mode 100644 2022/07/20/design-pattern-03-factory/index.html
 delete mode 100644 2022/07/20/design-pattern-04-abstract-factory/index.html
 delete mode 100644 2022/07/20/design-pattern-05-singleton/index.html
 delete mode 100644 2022/07/20/design-pattern-06-builder/index.html
 delete mode 100644 "2022/10/05/\350\257\273LevelDB - 01 \345\274\200\347\257\207&\347\274\226\350\257\2[21](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:22)\346\272\[22](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:23)0\347\240\201/index.html"
 delete mode 100644 "2022/10/06/\345\212\250\346\211\213\345\255\246\346\267\261\345\272\246\345\255\246\344\271\240 - 01 \345\274\200\345\217\221\347\216\257\345\242\203\346\220\255\345\273\272/index.html"
 delete mode 100644 "2022/10/07/\345\212\250\346\211\213\345\255\246\346\267\261\345\272\246\345\255\246\344\271\240 - 02 \350\256\255\347\273\203\344\270\200\344\270\252\347\272\277\346\200\247\345\[23](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:24)3\236\345\275\222\346\250\[24](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:25)1\345\236\213/index.html"
 delete mode 100644 "2022/10/23/\347\274\226\347\[25](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:26)0\213\350\[26](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:27)7\257\347\[27](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:28)2\277\345\233\276/index.html"
 delete mode 100644 "2022/11/07/\345\220\214\344\270\200\345\217\260\346\234\272\345\2[31](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:32)\250\344\275\277\347\224\250\345\244\2[32](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:33)\344\270\252gitee\350\264\246\345\217\267\345\274\200\345\217\221/index.html"
 delete mode 100644 2022/12/11/software-deisgn-a cxx-error-code-design/index.html
 delete mode 100644 2023/01/07/FlatBuffer-Startup/index.html
 delete mode 100644 archives/2022/07/index.html
 delete mode 100644 archives/2022/10/index.html
 delete mode 100644 archives/2022/11/index.html
 delete mode 100644 archives/2022/12/index.html
 delete mode 100644 archives/2022/index.html
 delete mode 100644 archives/2022/page/2/index.html
 delete mode 100644 archives/page/2/index.html
 delete mode 100644 categories/Git/index.html
 delete mode 100644 "categories/LevelDB\346\272\220\347\240\201\345\211\226\346\236\220/index.html"
 delete mode 100644 categories/index.html
 delete mode 100644 "categories/\346\267\261\345\272\246\345\255\246\344\271\240/index.html"
 delete mode 100644 "categories/\346\267\261\345\272\246\345\255\246\344\271\240/\345\212\250\346\211\213\345\255\246\346\267\261\345\272\246\345\255\246\344\271\240/index.html"
 delete mode 100644 "categories/\350\256\276\350\256\241\346\250\241\345\274\217/index.html"
 delete mode 100644 "categories/\350\256\276\350\256\241\346\250\241\345\274\217/\345\210\2[33](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:34)\[34](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:35)5\273\272\345\236\213\346\250\241\345\274\217/index.html"
 delete mode 100644 "categories/\[35](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:36)0\267\257\347\272\277\345\233\276/index.html"
 delete mode 100644 page/2/index.html
 delete mode 100644 tags/C/index.html
 delete mode 100644 tags/FlatBuffer/index.html
 delete mode 100644 tags/Git/index.html
 delete mode 100644 tags/index.html
 delete mode 100644 "tags/\345\215\225\344\276\213/index.html"
 delete mode 100644 "tags/\345\267\245\345\216\202\346\250\241\345\274\217/index.html"
 delete mode 100644 "tags/\350\256\276\350\256\241\346\250\241\345\274\217/index.html"
To github.com:vincentzhu007/vincentzhu007.github.io
   4519b67..69bb702  HEAD -> main
Branch 'main' set up to track remote branch 'main' from 'git@github.com:vincentzhu007/vincentzhu007.github.io'.
INFO  Deploy done: git
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/[202](https://github.com/vincentzhu007/hexo-summary/actions/runs/3919242364/jobs/6700122139#step:8:203)2-10-11-github-actions-deprecating-save-state-and-set-output-commands/
vincentzhu007 commented 1 year ago

github pages地址:https://vincentzhu007.github.io/

现在可以正常显示是因为在本地执行npx hexo deploy手动部署。

vincentzhu007 commented 1 year ago

已解决。使用https://xaoxuu.com/blog/20221126/提供的actions配置可以部署成功。

xaoxuu commented 1 year ago

应该是你原来的action依赖的node版本过低了,语法存在兼容性问题