ai/autoprefixer-rails

Autoprefixer doesn’t support Node v0.10.37

dheenaINDIAN opened this issue · 3 comments

I am using 9.1.3 version
Getting error while integrating with bootstrap as,

"Autoprefixer doesn’t support Node v0.10.37. Update it. "

ai commented

Yes. It doesn’t support it because 0.10 doesn’t have security updates anymore. Please update it ASAP, you make your business under attack.

Hi @ai I think what @dheenaINDIAN says is that autoprefixer is using the "wrong" version of node.

In my case, I had to install a newer version (8.11.4) using nvm but I already had installed 0.10.46 via apt-get.

I tried to see if it was something the gem does or a dependency here https://github.com/ai/autoprefixer-rails/blob/master/lib/autoprefixer-rails/processor.rb#L159 and seems to be more of a thing from exec-js gem.

Anyway, I removed the one I've installed via apt-get and now the error's gone.

ai commented

Also the problem can be fixed by installing mini_racer gem