Help us understand the problem. What is going on with this article?

Autoprefixer doesn’t support Node v4.8.2. Update it

More than 1 year has passed since last update.
Autoprefixer doesn’t support Node v4.8.2. Update it

というエラーに出くわした。
stackoverfolwに対処法が乗っていた。
https://stackoverflow.com/questions/52708521/autoprefixer-doesn-t-support-node-v4-8-2-update-it

こちらによればまずnodeを削除し、

# Using apt on Debian or Ubuntu based Linux distributions
sudo apt remove nodejs

入れ直せとかいている。

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

なおaptの部分はパッケージソフトによってはyumなどにかわる。

mini-racerというgemを追加してなおる場合もあるみたい

もしdockerのrubyを使っている場合、こちらのissueによれば、

FROM ruby:2.6-rc

# https://github.com/nodesource/distributions#installation-instructions
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
        && apt-get install -y nodejs

# ...

というふうにsetupcurlしておく。

dockerで構築した環境でbootstrap入れたら急にこんなエラー出てびびった。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした