CodeKit2 icon indicating copy to clipboard operation
CodeKit2 copied to clipboard

Autoprefixer CLI is deprecated. Use postcss-cli instead.

Open Andreyco opened this issue 10 years ago • 14 comments

screen shot 2015-08-13 at 21 09 16

https://github.com/postcss/autoprefixer#cli

Similar to #570, where they require to replace Autoprefixer with CSSNext.

Andreyco avatar Aug 13 '15 19:08 Andreyco

I'm having the same issue

nicholaspetersen avatar Aug 22 '15 22:08 nicholaspetersen

Me as well.

johnchourajr avatar Sep 04 '15 23:09 johnchourajr

Same here.

markhowellsmead avatar Sep 08 '15 15:09 markhowellsmead

You can safely ignore this warning. I'll make sure it's silenced in the next update.

bdkjones avatar Sep 08 '15 19:09 bdkjones

Hi, Bryan.

I'm getting the same error, but I've looked at my compiled CSS and Autoprefixer isn't working.

Autoprefixer failed with this error: Autoprefixer CLI is deprecated. Use postcss-cli instead.

ghost avatar Sep 09 '15 01:09 ghost

Please show me the output you're getting and what it should be. Thanks.

bdkjones avatar Sep 09 '15 03:09 bdkjones

I'm having the same issue, but only ever since upgrading to OS X El Capitan 10.11. Also seeing the following warning alongside the aforementioned:

Ignoring ffi-1.9.6 because its extensions are not built. Try: gem pristine ffi --version 1.9.6

@bdkjones did mention that it may be conflicting gems, I uninstalled all system gems and am still having the same issue. Any ideas?

kylegillen avatar Oct 01 '15 22:10 kylegillen

Having the same issues as @nextriot. Any update on the problem? Looks like it has to to with the new way El Capitan handles System Integrity Protection (SIP)? Thanks.

mauricenaef avatar Oct 12 '15 15:10 mauricenaef

Autoprefixer is not a Ruby-based tool; it's built on Node and JavaScript. The gem issues should not be related to AP.

bdkjones avatar Oct 12 '15 17:10 bdkjones

Ongoing issue for me too. Autofixer no longer works and produces the above error when enabled.

jamiedumont avatar Oct 13 '15 12:10 jamiedumont

I just had the same issue for the first time. I'm still running Yosemite though. screen shot 2015-10-14 at 10 37 08

razorfever avatar Oct 14 '15 07:10 razorfever

Autoprefixer should be running just fine, despite the annoying warning. If AP is not generating the output you expect, please post a test file I can use over here and the A) Expected and B) Actual output you're getting. Please also be sure to specify the browser string you've set for AP in the project settings area.

bdkjones avatar Oct 14 '15 18:10 bdkjones

Oh. Just saw the "internal error" in the screenshot above. That is not related to the warning about the CLI deprecation.

Usually, "internal error" means that your Browser String is invalid. (AutoPrefixer doesn't have the best error messages.) It can also show up if your CSS is not valid.

bdkjones avatar Oct 14 '15 18:10 bdkjones

@bdkjones Thanks for the reply. I managed to sort out my problems with the autoprefixer based on your advice above. I had commented the only line in my sass block like this:

.ui.grid-cell {
/* height: 56px; */
}

Commenting the whole block seems to have cleared the forementioned issue I was having. Still getting the warning about Autoprefixer CLI being deprecated, but it still runs through ok.

razorfever avatar Oct 14 '15 19:10 razorfever