[Rails] What to do if you get an error saying "Could not find a JavaScript runtime." When executing the rails s command on Catalina

error contents

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

approach

gem'therubyracer' is easy to get hooked on, so you should stop it. Install Node.js https://nodejs.org/en/

Recommended Posts

[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
What to do if you get an "A server is already running." Error when you try to start the rails server
What to do if you get an error saying "Please enter a valid value" when getting with Rails datetime_field
[Error resolution] How to resolve the error "Could not find a JavaScript runtime." After upgrading Catalina!
[Rails] What to do if you can't get an error message with the errors method
What to do if Operation not permitted is displayed when you execute a command in the terminal
What to do if you get a NoClassDefFoundError when trying to run eclipse on Java9
How to deal with errors in Rails s could not find a JavaScript runtime.
What to do if you can't use the rails command
What to do if you get an error saying Cannot find a valid baseurl for repo when you use yum -y install docker in a udemy course using CentOS7
Remedy for "A server is already running." Error when running rails s
A server is already running. Check / [WORKDIR] /tmp/pids/server.pid. Solution
MySQL is not running stably ... Rails app is not running.
What to do if you get an "A server is already running." Error when you try to start the rails server
What to do about "A server is already running ..." that happened without turning off the rails server in the terminal
Many error lines ... Rails server does not start 2. "Autodetect': Could not find a JavaScript runtime."
[Java] What to do if you get an error in Eclipse saying "Not allowed at source level below 1.X"
What to do if you get a "302" error in your controller unit test code in Rails
What to do if you get an error in Basic authentication during Rails test code
<Dot installation> What to do if you cannot proceed due to an error when building a development environment for Rails learning.
[Programming beginner] What to do when rails s becomes an error in the local development environment
What to do if you get a JNI shared library error when trying to build in Eclipse
What to do if you get a MiniMagick vulnerability alert on GitHub
What to do if you get the error Too long with no output (exceeded 10m0s) on CircleCI
What to do if Failure / Error: require File.expand_path ('../ config / environment', __dir__) appears in RSpec
[Ruby / Rails] What to do when NoMethodError appears when using a destructive method such as filter!
[Rails] What to do when you want to generate an error that cannot be destory when foreign key restrictions are applied
What to do if rails server can't be stopped
Error ExecJS :: RuntimeUnavailable: What to do when it occurs
[Rails] What to do if you can't get an error message with the errors method
[Rails] What to do when the error No database selected and Unknown database appears in db: migrate
[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 Could not locate Gemfile or .bundle / directory
What to do if you get Could not save master table to file after importing a project in Eclipse
What to do if you can't get the text of an element in Selenium
Many error lines ... Rails server does not start 2. "Autodetect': Could not find a JavaScript runtime."
What to do if you get a java.io.IOException in GlassFish
[Rails Tutorial Chapter 2] What to do when you make a mistake in the column name
What to do if a SAX Parser error occurs when using Liferay 7 / DXP on AWS
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 ..)
What to do if you select a JRE in Eclipse and get "The selected JRE does not support the current compliance level 11"
[Rails] What to do when rails s does not respond or does not stop
[Rails] What to do if you can't get parameters with form_with
What to do if you go offline due to SSL certificate error when running Jenkins on Mac
What to do if you get an [An HTTP request took too long to complete.] Error in Docker.
What to do if the app is not created with the latest Rails version installed when rails new
What to do if you get "Changes not staged for commit:" when you git status after git add.
What to do if you get `rescue in block in modules_for_hoge': Missing hoge file hoge / hoge_hoge.rb (AbstractController :: Helpers :: MissingHogeError) in rails s even though the file is in the specified error location.
What to do if you get a groovy warning in Thymeleaf Layout
What to do if you get an error with bundle install by entering gem'bcrypt' in your Gemfile
What to do if an error occurs when nokogiri enters when bundle install
What to do if the image posted by refile disappears after setting a 404 error page in Rails
no space left on device What to do if an error occurs
What to do when "call'Hoge.connection' to establish a connection" appears on rails c
[Rails] What to do when the Refile image is not displayed when writing the processing at the time of Routing Error
What to do if you get a javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake in the IBM JDK
[Grails] Error occurred running What to do when the Grails CLI does not start
What to do if you get To install the missing version, run `gem install bundler: 2.1.4`
What to do if ffi installation fails when launching an application in Rails
What to do if you switch Java versions on Windows 7 and get Error: Registry key'Software \ JavaSoft \ Java Runtime Environment'\ CurrentVersion' has value '1.8', but '1.7' is required.
What to do if you get an Argument Error: wrong number of arguments (given 2, expected 0) in your RSpec test
[Rails] What to do when you want to generate an error that cannot be destory when foreign key restrictions are applied
[Solution] What to do if you get a Docker error'ERROR: Cannot connect to the Docker daemon at unix: ///var/run/docker.sock. Is the docker daemon running?'
What to do if you get the warning "Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1." in Rails 6.0
What to do if you can't find the JDK you put in SDKMAN after migrating from bash to zsh on macOS
What to do if the update does not take effect after deploying Rails AWS
After installing'devise''bootstrap' of gemfile with rails, what to do when url is an error
[Ruby on rails] When executing the heroku command, bash: heroku: command not found is displayed. [Rails tutorial]
What to do when Address already in use is displayed after executing rails s
What to do if you can't find your API key after deploying to Rails heroku
What to do if you cannot execute with the command "Java package name / class name"
What to do if the Rails server can't start