LoginSignup
1
1

More than 5 years have passed since last update.

ExecJS::RuntimeError SyntaxError: [stdin]:11:3: unexpected ifのエラー

Posted at

エラーの概要

screenshot 2.png

home/indexにSyntaxError: [stdin]:11:3: unexpected if
が出た

解決法

coffeescrpitにcoffeescrpit以外のコードを書いていたことが原因らしい

room.coffee
エラー前
screenshot.pngscreenshot.png

エラー解決後

screenshot.png

参考文献
  https://teratail.com/questions/30240

1
1
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
1
1