While trying localhost:3000 , it throws error as
ActionView::Template::Error (Autoprefixer doesn’t support Node v0.10.37. Update it.):
I have tried to update node, but there is not update available.
node -v # v8.1.3
nodejs -v # v0.10.37
Gemfile
gem 'bootstrap', '~> 4.1.3', and others
Gemfile.lock
autoprefixer-rails (9.1.1)
Autoprefixer doesn’t support Node v4.8.2. Update it Bookmark this question. Show activity on this post. I have a Rails app running Rails 5.2.1 and Ruby 2.5.1. When I run the Rails server, I get the following error: Autoprefixer doesn’t support Node v4.8.2.
Using the nvm (node version manager) is the best option to update the default version of node. After successful installation, close the terminal and open a new terminal. List the version of nodejs available:
After successful installation, close the terminal and open a new terminal. List the version of nodejs available: This will list the available versions of nodejs. Hope this helps as a step by step guide.
The Code 37 error is one of several Device Manager error codes that basically mean that the driver installed for the hardware device has failed in some way. The Code 37 error will almost always display in the following way:
I had a similar issue and was fixed by adding gem 'mini_racer'
into your gemfile.
Hope this helps!
The problem for me was that the autoprefixer was installed as a dependency of another package, but without specifying the version, so the installed version was 9.4.3, which had a conflict with my local Node installation.
I fixed it by adding an specific version for the package in my GemFile, and running bundle install
gem 'autoprefixer-rails', '~> 7.1.6'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With