Coder Social home page Coder Social logo

Hexo-入门篇 about blog HOT 1 OPEN

Tomotoes avatar Tomotoes commented on May 25, 2024
Hexo-入门篇

from blog.

Comments (1)

xi-feng avatar xi-feng commented on May 25, 2024

大佬 跑不起来啊 报下面这个错能给讲讲不 谢谢

INFO Start processing
INFO Hexo is running at http://localhost:4000 . Press Ctrl+C to stop.
Unhandled rejection TypeError: E:\hexo\themes\tomotoes\layout\layout.ejs:6
4|
5| <%- partial('_partial/loading') %>

6| <%- partial('_partial/menu') %>
7|


8| <%- body %>
9| <%- partial('_partial/footer') %>

E:\hexo\themes\tomotoes\layout_partial\menu.ejs:47
45| menuItem = theme.menu2[i];
46| %>

47| <a class="nav2item" data-title="<%-menuItem.text %>" href="<%- url_for(menuItem.url) %>" <% if(menuItem.target){ %>target="<%- menuItem.target %>"<% } if(menuItem.text){ %>title="<%-menuItem.text %>"<% } %> >
48|
49|
50| <% } %>

Cannot read property '0' of null
at Object.urlForHelper (E:\hexo\node_modules\hexo\lib\plugins\helper\url_for.js:6:11)
at eval (eval at compile (E:\hexo\node_modules\ejs\lib\ejs.js:618:12), :78:17)
at returnedFn (E:\hexo\node_modules\ejs\lib\ejs.js:653:17)
at Theme._View.View._compiledSync.locals [as _compiledSync] (E:\hexo\node_modules\hexo\lib\theme\view.js:121:22)
at Theme._View.View.View.renderSync (E:\hexo\node_modules\hexo\lib\theme\view.js:49:23)
at Object.partial (E:\hexo\node_modules\hexo\lib\plugins\helper\partial.js:38:15)
at eval (eval at compile (E:\hexo\node_modules\ejs\lib\ejs.js:618:12), :17:17)
at returnedFn (E:\hexo\node_modules\ejs\lib\ejs.js:653:17)
at Theme._View.View._compiled.locals [as _compiled] (E:\hexo\node_modules\hexo\lib\theme\view.js:125:48)
at Theme._View.View.View.render (E:\hexo\node_modules\hexo\lib\theme\view.js:30:15)
at _compiled.then.result (E:\hexo\node_modules\hexo\lib\theme\view.js:41:23)
at tryCatcher (E:\hexo\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (E:\hexo\node_modules\bluebird\js\release\promise.js:517:31)
at Promise._settlePromise (E:\hexo\node_modules\bluebird\js\release\promise.js:574:18)
at Promise._settlePromise0 (E:\hexo\node_modules\bluebird\js\release\promise.js:619:10)
at Promise._settlePromises (E:\hexo\node_modules\bluebird\js\release\promise.js:699:18)
at _drainQueueStep (E:\hexo\node_modules\bluebird\js\release\async.js:138:12)
at _drainQueue (E:\hexo\node_modules\bluebird\js\release\async.js:131:9)
at Async._drainQueues (E:\hexo\node_modules\bluebird\js\release\async.js:147:5)
at Immediate.Async.drainQueues [as _onImmediate] (E:\hexo\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)

from blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.