LoginSignup
0
0

More than 3 years have passed since last update.

rails s 実行時のCould not find a JavaScript runtime.のエラー対応方法

Posted at

macOSのバージョンを上げてしまい、開発中のRailsアプリのローカル環境でローカルサーバーが起動出来なくなり、以下のようなエラーが発生したため、忘備録のために投稿します。

macOS Catalina バージョン 10.15.5
環境:Ruby,Ruby on Rails,JavaScript

エラー内容

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

解決方法

Node.jsの最新版をインストールする。
以上です。これだけでした。
スクリーンショット 2020-06-22 3.55.41.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0