- (node:10540) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
这个可能的原因是node.js的版本过高,查阅几篇文章说加三句配置文件即可
在node_modules\nib\node_modules\stylus\lib\nodes\index.js里面
exports.lineno = null;
exports.column = null;
exports.filename = null;
- hexo 报错 err: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value
- err: Error [Nunjucks Error]: [Line 171, Column 179] unexpected token: }}
原因是正文里面出现了多次{% %}
这样的语句,网上解释说是Nunjucks引擎会把它解释为其它意思。
当把{{与{%放进代码块里面就不会报错了。。(还有一种解决方式是加\转义)