首页 > 其他 > 详细

Jade报错:Invalid indentation,you can use tabs or spaces but not both问题

时间:2015-11-06 01:29:37      阅读:1278      评论:0      收藏:0      [点我收藏+]

现象:通过html生成jade文件之后,更改jade文件时,语句没什么问题的情况下,jade文件编译不通过,报错:Invalid indentation,you can use tabs or spaces but not both。

原因:错误信息上已经写得很清楚了,是因为jade文件里出现了多余的空格导致文件编译不通过。

解决方法:在代码编辑器中设置tab替换空格,就ok了。

Jade报错:Invalid indentation,you can use tabs or spaces but not both问题

原文:http://www.cnblogs.com/haimishasha/p/4941259.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!