Home > front end >  Hexo s local debugging when a bunch of mistakes, but also the deployment
Hexo s local debugging when a bunch of mistakes, but also the deployment

Time:11-30


 $hexo sThe INFO Validating config 
The INFO Start processing
INFO Hexo is running at http://localhost:4000. Press Ctrl + C to stop.
Unhandled rejection TypeError: F: \ \ \ blog blog 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;

F: \ \ \ blog blog themes \ hexo - theme - matery - master \ layout \ _partial \ index - cover. Ejs: 65
63 | & lt; Div & gt;
64 | & lt; Div & gt;
> 65 | & lt; % - partial (' _partial/bg - cover - content) % & gt;
66 |
67 | & lt; Div & gt;
68 | & lt; A href="https://bbs.csdn.net/topics/#indexCard" & gt;

F: \ \ \ blog blog themes \ hexo - theme - matery - master \ layout \ _partial \ bg - cover - content. ejs:
11 |
12 | & lt; Div & gt;
> 13 | & lt; % the if (theme. The subtitle. Enable) {% & gt;
14 | & lt; Span id="subtitle" & gt;
15 | & lt; Script SRC="https://cdn.jsdelivr.net/npm/[email protected]" & gt; </script>
16 | & lt; script>

Always read the property 'enable' of undefined
At the eval (F: \ blog, blog, themes, hexo - theme - matery - master \ layout \ _partial \ bg - cover - content. ejs: wilt)
The at bg - cover - the content (F: \ \ \ blog blog node_modules \ ejs \ lib \ ejs js: 682:17)
The at _View. _compiledSync (F: \ \ \ blog blog node_modules \ hexo \ lib \ theme \ view js: 132:24)
The at _View. RenderSync (F: \ \ \ blog blog node_modules \ hexo \ lib \ theme \ view js: 59:25)
At the Object. The partial (F: \ \ \ blog blog node_modules \ hexo \ lib \ plugins \ helper \ partial js: ")
At the eval (F: \ blog, blog, themes, hexo - theme - matery - master \ layout \ _partial \ index - cover. Ejs: also,)
At the index - cover (F: \ \ \ blog blog node_modules \ ejs \ lib \ ejs js: 682:17)
The at _View. _compiledSync (F: \ \ \ blog blog node_modules \ hexo \ lib \ theme \ view js: 132:24)
The at _View. RenderSync (F: \ \ \ blog blog node_modules \ hexo \ lib \ theme \ view js: 59:25)
At the Object. The partial (F: \ \ \ blog blog node_modules \ hexo \ lib \ plugins \ helper \ partial js: ")
At the eval (F: \ \ \ blog blog themes \ hexo - theme - matery - master \ layout \ index ejs: instruction)
An index (F: \ \ \ blog blog node_modules \ ejs \ lib \ ejs js: 682:17)
The at _View. _compiled (F: \ \ \ blog blog node_modules \ hexo \ lib \ theme \ view js: 136:50)
At _View. Render (F: \ \ \ blog blog node_modules \ hexo \ lib \ theme \ the js: then they)
The at F: \ \ \ blog blog node_modules \ hexo \ lib \ hexo \ index js: 64:21
The at tryCatcher (F: \ \ \ blog blog node_modules/bluebird/js/release \ util js: shew forth)
At F: \ \ \ blog blog node_modules \ bluebird/js/release/method. The js, and
"The at RouteStream. _read (F: \ \ \ blog blog node_modules \ hexo \ lib \ hexo \ router js: cannot profit)
The at RouteStream. Readable. Read (_stream_readable. Js: 467:10)
The at resume_ (_stream_readable. Js: 981:12)
The at processTicksAndRejections (internal/process/task_queues. Js: 84:21)
The INFO Have a nice day

Like this kind of mistake, and then hexo s local debugging interface also can't open, can't hexo g, how is this to return a responsibility excuse me?
  • Related