Railsを起動したあと
Current ExecJS runtime does’t support ES6. Please install latest Node.js
のエラーが…!
解決方法は
Gemfileに
gem ‘autoprefixer-rails’
で bundle install して rails s で起動してもうまくいかず
gem ‘autoprefixer-rails’, ‘8.6.5’
で bundle update して rails s
なぜこうしないといけないのだろう…?
とありあえず、動くようになった。