Halyul / hexo-theme-mdui

GNU General Public License v3.0
185 stars 35 forks source link

无法使用custom_js #104

Closed zHElEARN closed 5 years ago

zHElEARN commented 5 years ago

版本2.0.2 我的vendors:

vendors:
  style_min_css:
  outdatedbrowser_min_js:
  js_min_js:
  custom_head:
  custom_js: true

我已经在主题目录下的layout文件夹创建了_custom文件夹和custom_js.ejs文件 当我进行hexo g的时候 提示信息

I:\Repos\Projects\WebProject\Hexo\Test
λ hexo g
INFO  Start processing
INFO  Files loaded in 414 ms
ERROR Render HTML failed: 2019/06/18/hello-world/index.html
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR Render HTML failed: index.html
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR Render HTML failed: archives/index.html
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR Render HTML failed: archives/2019/index.html
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR Render HTML failed: archives/2019/06/index.html
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR Render HTML failed: 404.html
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR Render HTML failed: search.html
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
ERROR I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
Error: I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\layout.ejs:178
    176|     <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<%= __('outdated_browser.close') %>">&times;</a></p>
    177|   </div>
 >> 178|   <%-partial('_partials/import_js.ejs')%>
    179|
    180| </body>
    181| </html>

I:\Repos\Projects\WebProject\Hexo\Test\themes\mdui\layout\_partials\import_js.ejs:35
    33| <% if (theme.vendors.custom_js === true) { %>
    34|   <!-- Custom JS -->
 >> 35|   <%-partial('../_custom/custom_import_js')%>
    36| <% } %>
    37|
    38| <script type="text/javascript">

Partial ../_custom/custom_import_js does not exist. (in _partials\import_js.ejs)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:16:11)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:71:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiledSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:119:22)
    at Theme._View.View.View.renderSync (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:48:23)
    at Object.partial (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\plugins\helper\partial.js:34:15)
    at eval (eval at compile (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:70:16)
    at returnedFn (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\ejs\lib\ejs.js:668:17)
    at Theme._View.View._compiled (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:123:48)
    at Theme._View.View.View.render (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:29:15)
    at I:\Repos\Projects\WebProject\Hexo\Test\node_modules\hexo\lib\theme\view.js:40:23
    at tryCatcher (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:517:31)
    at Promise._settlePromise (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:574:18)
    at Promise._settlePromise0 (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:619:10)
    at Promise._settlePromises (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\promise.js:699:18)
    at _drainQueueStep (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (I:\Repos\Projects\WebProject\Hexo\Test\node_modules\bluebird\js\release\async.js:17:14)
    at processImmediate (internal/timers.js:439:21)
INFO  0 files generated in 528 ms

是我的打开方式错了吗emmm

zHElEARN commented 5 years ago

当我将layout/_partials/import_js.ejs的第35行修改成

<%-partial('../_custom/custom_js.ejs')%>

后可以正常使用

Halyul commented 5 years ago

I made a mistake on the file name, I will fix it ASAP