无法再使用Webstorm 8.0.2编译bootstrap 2.3.2 LESS。少编译插件。获取编译器错误
我正在更新我的一个旧项目,该项目使用的Botstrap v2.3.2版本更少。它过去编译起来很顺利,但现在我遇到了这个错误:无法再使用Webstorm 8.0.2编译bootstrap 2.3.2 LESS。少编译插件。获取编译器错误,less,webstorm,twitter-bootstrap-2,Less,Webstorm,Twitter Bootstrap 2,我正在更新我的一个旧项目,该项目使用的Botstrap v2.3.2版本更少。它过去编译起来很顺利,但现在我遇到了这个错误: LESS CSS Compiler Error mixins.less: Parse Error: Unrecognised input (line 561, column 6) near .spanX (@index) when (@index > 0) { (~".span@{index}") { .span(@index); } .spanX(@index
LESS CSS Compiler Error
mixins.less: Parse Error: Unrecognised input (line 561, column 6) near .spanX
(@index) when (@index > 0) { (~".span@{index}") { .span(@index); } .spanX(@index - 1);
问题似乎在这里:
.spanX (@index) when (@index > 0) {
(~".span@{index}") { .span(@index); } // <-- line 561 in mixins.less
.spanX(@index - 1);
}
.spanX(@index)何时(@index>0){
(~“.span@{index}”){.span(@index);}/作为max在其评论中的七个阶段:
更改了出现错误的所有实例
(~".span@{index}") { .span(@index); } // <-- line 561 in mixins.less
(~“.span@{index}”){.span(@index);}//请参阅@seven Phase max Cheers。工作起来很有魅力。
.span@{index} { .span(@index); } // <-- line 561 in mixins.less