Home > front end >  Hexo always read a property 'enable' of undefined
Hexo always read a property 'enable' of undefined

Time:05-25

Hexo s without error, can directly to your blog, but the page don't come, then show the following error


D: \ hexo> Hexo s
The INFO Validating config
The INFO Start processing
INFO Hexo is running at http://localhost:4000. Press Ctrl + C to stop.
Unhandled rejection TypeError: D: \ hexo \ themes \ hexo - theme - matery - master \ layout \ index ejs: 2
1 | & lt; % the if (is_home () & amp; & Page. The current===1) {% & gt;
> 2 | & lt; % - partial (' _partial/index - cover) % & gt;
3 | & lt; % %} else {& gt;
4 | & lt; % - partial (' _partial/bg - cover) % & gt;
5 | & lt; %} % & gt;

D: \ hexo \ themes \ hexo - theme - matery - master \ layout \ _partial \ index - cover. Ejs: 68
66 |
67 | & lt; Div & gt;
> 68 | & lt; A href="https://bbs.csdn.net/topics/<%=
69 | [theme. Dream, theme music, theme. The video, the theme. How]
70 |. Every (I=& gt; Appropriate precautions nable)? "# indexCard" : "# articles"
71 | % & gt;">

Always read the property 'enable' of undefined
At the eval (D: \ hexo \ themes \ hexo - theme - matery - master \ layout \ _partial \ index - cover. Ejs: 34:45)
An Array. Every (& lt; anonymous>)
At the eval (D: \ hexo \ themes \ hexo - theme - matery - master \ layout \ _partial \ index - cover. Ejs: 34:34)
At the index - cover (D: \ hexo \ node_modules \ ejs \ lib \ ejs js: 682:17)
The at _View. _compiledSync (D: \ hexo \ node_modules \ hexo \ lib \ theme \ view js: 132:24)
The at _View. RenderSync (D: \ hexo \ node_modules \ hexo \ lib \ theme \ view js: 59:25)
At the Object. Partial (D: \ hexo \ node_modules \ hexo \ lib \ plugins \ helper \ partial js: ")
At the eval (D: \ hexo \ themes \ hexo - theme - matery - master \ layout \ index ejs: instruction)
An index (D: \ hexo \ node_modules \ ejs \ lib \ ejs js: 682:17)
The at _View. _compiled (D: \ hexo \ node_modules \ hexo \ lib \ theme \ view js: 136:50)
At _View. Render (D: \ hexo \ node_modules \ hexo \ lib \ theme \ the js: then they)
At the D: \ hexo \ node_modules \ hexo \ lib \ hexo \ index js: 64:21
The at tryCatcher (D: \ hexo \ node_modules/bluebird/js/release \ util js: shew forth)
At D: \ hexo \ node_modules \ bluebird/js/release/method. The js: and
"At RouteStream. _read (D: \ hexo \ node_modules \ hexo \ lib \ hexo \ router js: ashkelon)
The at RouteStream. Readable. Read (_stream_readable. Js: 469:10)
The at resume_ (_stream_readable. Js: 983:12)
The at processTicksAndRejections (internal/process/task_queues. Js: 84:21)

  • Related