Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexo s 报错 #11

Open
Liynw opened this issue Aug 26, 2021 · 2 comments
Open

hexo s 报错 #11

Liynw opened this issue Aug 26, 2021 · 2 comments

Comments

@Liynw
Copy link

Liynw commented Aug 26, 2021

No description provided.

@Liynw Liynw closed this as completed Aug 27, 2021
@Liynw
Copy link
Author

Liynw commented Aug 27, 2021

报错如下:

ERROR {
  err: Error: ENOENT: no such file or directory, open 'D:\cqbzljt_blog\blog\themes\argon\layout\('header.ejs')'
      at Object.openSync (fs.js:498:3)
      at readFileSync (fs.js:394:35)
      at Object.exports.parse (D:\cqbzljt_blog\blog\node_modules\hexo-renderer-mathjax\node_modules\ejs\lib\ejs.js:164:19)
      at exports.compile (D:\cqbzljt_blog\blog\node_modules\hexo-renderer-mathjax\node_modules\ejs\lib\ejs.js:229:15)
      at Object.exports.render (D:\cqbzljt_blog\blog\node_modules\hexo-renderer-mathjax\node_modules\ejs\lib\ejs.js:284:66)
      at Hexo.<anonymous> (D:\cqbzljt_blog\blog\node_modules\hexo-renderer-mathjax\index.js:14:24)
      at Hexo.tryCatcher (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\util.js:16:23)
      at Hexo.ret (eval at makeNodePromisifiedEval (C:\Users\username\AppData\Roaming\npm\node_modules\hexo-cli\node_modules\bluebird\js\release\promisify.js:184:12), <anonymous>:13:39)
      at D:\cqbzljt_blog\blog\node_modules\hexo\lib\hexo\render.js:75:22
      at tryCatcher (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\util.js:16:23)
      at Promise._settlePromiseFromHandler (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
      at Promise._settlePromise (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
      at Promise._settlePromiseCtx (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\promise.js:641:10)
      at _drainQueueStep (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\async.js:97:12)
      at _drainQueue (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\async.js:86:9)
      at Async._drainQueues (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\async.js:102:5)
      at Immediate.Async.drainQueues [as _onImmediate] (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\async.js:15:14)
      at processImmediate (internal/timers.js:462:21) {
    errno: -4058,
    syscall: 'open',
    code: 'ENOENT',
    path: "D:\\cqbzljt_blog\\blog\\themes\\argon\\layout\\('header.ejs')"
  }
} Render HTML failed: index.html
Unhandled rejection Error: ENOENT: no such file or directory, open 'D:\cqbzljt_blog\blog\themes\argon\layout\('header.ejs')'
    at Object.openSync (fs.js:498:3)
    at readFileSync (fs.js:394:35)
    at Object.exports.parse (D:\cqbzljt_blog\blog\node_modules\hexo-renderer-mathjax\node_modules\ejs\lib\ejs.js:164:19)
    at exports.compile (D:\cqbzljt_blog\blog\node_modules\hexo-renderer-mathjax\node_modules\ejs\lib\ejs.js:229:15)
    at Object.exports.render (D:\cqbzljt_blog\blog\node_modules\hexo-renderer-mathjax\node_modules\ejs\lib\ejs.js:284:66)
    at Hexo.<anonymous> (D:\cqbzljt_blog\blog\node_modules\hexo-renderer-mathjax\index.js:14:24)
    at Hexo.tryCatcher (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\util.js:16:23)
    at Hexo.ret (eval at makeNodePromisifiedEval (C:\Users\username\AppData\Roaming\npm\node_modules\hexo-cli\node_modules\bluebird\js\release\promisify.js:184:12), <anonymous>:13:39)
    at D:\cqbzljt_blog\blog\node_modules\hexo\lib\hexo\render.js:75:22
    at tryCatcher (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromiseCtx (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\promise.js:641:10)
    at _drainQueueStep (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\async.js:97:12)
    at _drainQueue (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (D:\cqbzljt_blog\blog\node_modules\bluebird\js\release\async.js:15:14)
    at processImmediate (internal/timers.js:462:21)

@Liynw Liynw reopened this Aug 28, 2021
@EvanNotFound
Copy link

我也是

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants