LESS compilation error in mesh request

I cannot compile my LESS document because a compilation error is returned for it:

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) { 

Can anyone see the reason for this? I do not see errors in the code.

Update

I use SimpLESS to compile. I just checked and uses LESS 1.3.0.

+4
source share
1 answer

This is a version issue. When checking for different versions here he has no problems from LESS 1.3.1+. However, for 1.3.0, it seems to choke at three points:

 @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), //<-HERE on the 2/1 only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), //<-HERE on the dpi only screen and (min-resolution: 2dppx) //<-HERE on the dppx { .test { color: red;} } 
+6
source

All Articles