grunt-stripmq icon indicating copy to clipboard operation
grunt-stripmq copied to clipboard

"Stripping media queries failed." - Aid in debugging

Open matthisamoto opened this issue 9 years ago • 2 comments

Is it possible to give even a line number for where it's choking?

Running "stripmq:target" (stripmq) task
Warning: Stripping media queries failed. Use --force to continue.

matthisamoto avatar Oct 05 '15 20:10 matthisamoto

@matthisamoto I had the same problem on node 4.x.x.

The problem is on css-mediaquery dependency. In my case, the following rule was broking:

(-o-min-device-pixel-ratio: 3 / 2)

I needed to remove spaces:

(-o-min-device-pixel-ratio: 3/2)
// or
(-o-min-device-pixel-ratio: 1.5)

gustavopaes avatar Oct 30 '15 17:10 gustavopaes

I've been having the same problem - even when it's not stripmq's fault, line numbers would be very helpful

a2wd avatar Apr 21 '16 12:04 a2wd