iissnan/theme-next-docs

Template render error: (unknown path) Error: template names must be a string: undefined

Closed this issue · 2 comments

after hexo clean && hexo g:
Template render error: (unknown path)
Error: template names must be a string: undefined
image

This is no error before execute npm install hexo-renderer-swig --registry=https://registry.npm.taobao.org command.
Because of access http://localhost:4000 have a error.
image

Maybe have any {{ or }}, but I didn't find it. Only code blocks or snippets exist.

Find the difference by regenerating a new project and comparing it. The main problem is caused by incompatible versions.