Comments (1)
大佬 跑不起来啊 报下面这个错能给讲讲不 谢谢
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)
- 服务器初始化
- VSCode之高效快捷键
- 神奇的位运算
- 肉鸡是怎样炼成的
- 学习Less-看这篇就够了
- 网站必备之简繁切换
- 囚思
- Vim修炼秘籍之语法篇
- 热乎乎的开源主页 HOT 5
- 如何成为 IDEA 键盘流 HOT 3
- 个人简历 HOT 10
- Go开发中的十大常见陷阱[译] HOT 2
- [开源福利]Scrcpy-GUI HOT 3
- 个人简历(Old)
- 昨日青空
- 2019 年度总结 HOT 1
- Apple一家建筑公司
- 如何优雅地写博客
- 微博 HOT 16
- 留言模块失效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog.