zoukankan      html  css  js  c++  java
  • hexo 大型车祸现场

    不知什么时候起,控制台几天都是报这样的错误,前面那段时间我没有发布新的博客就忽视了,但是昨天车祸了,到现在无解。我在猜测是不是Hexo版本的问题?

    MINGW64 /g/blog_gitee (master)
    $ hexo g
    INFO  Start processing
    ERROR Process failed: layout/_partial/baidu-analytics.ejs
    SyntaxError: Missing catch or finally after try in G:log_gitee	hemesmaterial-xlayout\_partialaidu-analytics.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 (G:log_gitee
    ode_modulesejslibejs.js:652:12)
        at Object.compile (G:log_gitee
    ode_modulesejslibejs.js:392:16)
        at Function.ejsRenderer.compile (G:log_gitee
    ode_moduleshexo-renderer-ejslib
    enderer.js:10:14)
        at viewFn.View._precompile (G:log_gitee
    ode_moduleshexolib	hemeview.js:129:31)
        at viewFn.View (G:log_gitee
    ode_moduleshexolib	hemeview.js:26:8)
        at new viewFn (G:log_gitee
    ode_moduleshexolib	hemeindex.js:35:15)
        at Theme.setView (G:log_gitee
    ode_moduleshexolib	hemeindex.js:71:18)
        at G:log_gitee
    ode_moduleshexolib	hemeprocessorsview.js:14:14
        at tryCatcher (G:log_gitee
    ode_modulesluebirdjs
    eleaseutil.js:16:23)
        at Promise._settlePromiseFromHandler (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:547:31)
        at Promise._settlePromise (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:604:18)
        at Promise._settlePromise0 (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:649:10)
        at Promise._settlePromises (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:729:18)
        at Promise._fulfill (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:673:18)
        at Promise._resolveCallback (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:466:57)
        at Promise._settlePromiseFromHandler (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:559:17)
        at Promise._settlePromise (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:604:18)
        at Promise._settlePromise0 (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:649:10)
        at Promise._settlePromises (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:729:18)
        at Promise._fulfill (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:673:18)
        at G:log_gitee
    ode_modulesluebirdjs
    elease
    odeback.js:42:21
        at G:log_gitee
    ode_modulesgraceful-fsgraceful-fs.js:115:16
        at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)
    FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html
    TypeError [ERR_INVALID_URL]: Invalid URL: http://localhost:8081来登录;
        at onParseError (internal/url.js:243:9)
        at new URL (internal/url.js:319:5)
        at G:log_gitee
    ode_moduleshexo-utillibis_external_link.js:21:18
        at Cache.apply (G:log_gitee
    ode_moduleshexo-utillibcache.js:27:46)
        at isExternalLink (G:log_gitee
    ode_moduleshexo-utillibis_external_link.js:19:16)
        at G:log_gitee
    ode_moduleshexolibpluginsfilterafter_renderexternal_link.js:23:35
        at String.replace (<anonymous>)
        at Hexo.externalLinkFilter (G:log_gitee
    ode_moduleshexolibpluginsfilterafter_renderexternal_link.js:22:15)
        at Hexo.tryCatcher (G:log_gitee
    ode_modulesluebirdjs
    eleaseutil.js:16:23)
        at Hexo.<anonymous> (G:log_gitee
    ode_modulesluebirdjs
    eleasemethod.js:15:34)
        at G:log_gitee
    ode_moduleshexolibextendfilter.js:62:52
        at tryCatcher (G:log_gitee
    ode_modulesluebirdjs
    eleaseutil.js:16:23)
        at Object.gotValue (G:log_gitee
    ode_modulesluebirdjs
    elease
    educe.js:166:18)
        at Object.gotAccum (G:log_gitee
    ode_modulesluebirdjs
    elease
    educe.js:155:25)
        at Object.tryCatcher (G:log_gitee
    ode_modulesluebirdjs
    eleaseutil.js:16:23)
        at Promise._settlePromiseFromHandler (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:547:31)
        at Promise._settlePromise (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:604:18)
        at Promise._settlePromiseCtx (G:log_gitee
    ode_modulesluebirdjs
    eleasepromise.js:641:10)
        at _drainQueueStep (G:log_gitee
    ode_modulesluebirdjs
    eleaseasync.js:97:12)
        at _drainQueue (G:log_gitee
    ode_modulesluebirdjs
    eleaseasync.js:86:9)
        at Async._drainQueues (G:log_gitee
    ode_modulesluebirdjs
    eleaseasync.js:102:5)
        at Immediate.Async.drainQueues [as _onImmediate] (G:log_gitee
    ode_modulesluebirdjs
    eleaseasync.js:15:14)
        at processImmediate (internal/timers.js:439:21)
    
  • 相关阅读:
    线段树(单点更新) HDOJ 2795 Billboard
    线段树(单点更新) HDU 1754 I Hate It
    线段树(单点更新)/树状数组 HDOJ 1166 敌兵布阵
    递推DP URAL 1031 Railway Tickets
    记忆化搜索(DFS+DP) URAL 1223 Chernobyl’ Eagle on a Roof
    递推DP URAL 1244 Gentlemen
    DFS水题 URAL 1152 False Mirrors
    记忆化搜索(DFS+DP) URAL 1501 Sense of Beauty
    DP+高精度 URAL 1036 Lucky Tickets
    DP/最短路 URAL 1741 Communication Fiend
  • 原文地址:https://www.cnblogs.com/melodyjerry/p/13323033.html
Copyright © 2011-2022 走看看