How to deal with errors in Rails s could not find a JavaScript runtime.

I upgraded the version of macOS, and the local server could not be started in the local environment of the Rails application under development, and the following error occurred, so I will post it as a memorandum.

macOS Catalina version 10.15.5 Environment: Ruby, Ruby on Rails, JavaScript

error contents

Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)

Solution

Install the latest version of Node.js. that's all. That was all. スクリーンショット 2020-06-22 3.55.41.png

Recommended Posts

How to deal with errors in Rails s could not find a JavaScript runtime.
[Error resolution] How to resolve the error "Could not find a JavaScript runtime." After upgrading Catalina!
[Rails] How to load JavaScript in a specific view
Many error lines ... Rails server does not start 2. "Autodetect': Could not find a JavaScript runtime."
[Rails] What to do if you get an error saying "Could not find a JavaScript runtime." When executing the rails s command on Catalina
What to do if you get an error saying "Could not find a JavaScript runtime." When starting rails server
How to deal with 405 Method Not Allowed error in Tomcat + JSP
Android: How to deal with "Could not determine java version from '10 .0.1'"
How to rename a model with foreign key constraints in Rails
How to insert a video in Rails
[Rails] How to log in with a name by adding a devise name column
How to implement a like feature in Rails
How to easily create a pull-down in Rails
How to make a follow function in Rails
How to embed JavaScript variables in HTML with Thymeleaf
How to implement a like feature in Ajax in Rails
How to delete a new_record object built with Rails
How to manually generate a JWT with Rails Knock
[Rails] How to deal with URL changes after render
How to write a date comparison search in Rails
How to get started with creating a Rails app
[Docker + Rails] How to deal with Rails server startup failure
What to do when ‘Could not find’ in any of the sources appears in the development environment with Docker × Rails × RSpec
How to display a graph in Ruby on Rails (LazyHighChart)
Mapping to a class with a value object in How to MyBatis
How to set up a proxy with authentication in Feign
What to do when a could not find driver appears when connecting to a DB in a Docker environment
How to make a jar with old Hadoop (hadoop-core-0.20.2-cdh3u6) in Gradle: (What to do if you get Could not expand ZIP ..)
[Rails / RSpec] How to deal with element has zero size error
[Rails] How to write in Japanese
How to make a jar file with no dependencies in Maven
Android: How to deal with "Cause: cannot find android.support.transition.R $ id 2: android.support.transition.R $ id found in android / support / transition / R $ id 2.class"
Project facet Java version 13 is not supported. How to deal with
How to get boolean value with jQuery in rails simple form
How to introduce jQuery in Rails 6
How to get along with Rails
How to install Swiper in Rails
How to implement a slideshow using slick in Rails (one by one & multiple by one)
How to create a query using variables in GraphQL [Using Ruby on Rails]
[Personal memo] How to interact with a random number generator in Java
How to update user edits in Rails Devise without entering a password
How to build a Ruby on Rails development environment with Docker (Rails 6.x)
[Rails] How to get the user information currently logged in with devise
How to build a Ruby on Rails development environment with Docker (Rails 5.x)
[Rails] How to apply the CSS used in the main app with Administrate
How to start a Docker container with a volume mounted in a batch file
How to implement search functionality in Rails
How to change app name in rails
How to use custom helpers in rails
[Android] How to deal with dark themes
[Rails] How to use rails console with docker
How to switch thumbnail images with JavaScript
JavaScript (vanilla) does not respond in Rails.
How to use MySQL in Rails tutorial
How to resolve errors when installing Rails 5.1.3
Steps to set a favicon in Rails
[rails] How to configure routing in resources
[rails] How to create a partial template
How to implement ranking functionality in Rails
How to publish a library in jCenter
How to deal with Precompiling assets failed.