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.
[How to insert a video in haml with Rails]
[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 rename a model with foreign key constraints in Rails
How to insert a video in Rails
How to implement a like feature in Rails
How to easily create a pull-down in Rails
How to store data simultaneously in a model associated with a nested form (Rails 6.0.0)
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 query Array in jsonb with Rails + postgres
[Rails 6] How to set a background image in Rails [CSS]
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
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 ..)
How to find May'n in XPath
[Rails / RSpec] How to deal with element has zero size error
How to make a jar file with no dependencies in Maven
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 install Swiper in Rails
How to interact with a server that does not crash the app
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
[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
[Android] How to deal with dark themes
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
[rails] How to configure routing in resources
[rails] How to create a partial template
How to handle sign-in errors with devise
How to implement ranking functionality in Rails
How to deal with Precompiling assets failed.
How to use credentials.yml.enc introduced in Rails 5.2
How to build Rails 6 environment with Docker
How to deal with FATAL: role "admin0" does not exist and PG :: ConnectionBad: FATAL: role "admin0" does not exist when executing rails db: create
How to get the ID of a user authenticated with Firebase in Swift
[Rails] How to register multiple records in the intermediate table with many-to-many association
How to resolve errors that occur in the "Ruby on Rails" integration test
Introducing # 15 pundit to build a bulletin board API with authentication authorization in Rails 6
[Rails] How to operate the helper method used in the main application with Administrate
How to make a unique combination of data in the rails intermediate table
It's a pain to deal with old dates