Rails ExecJS::ProgramError in View

Rails ExecJS ProgramError in View
5/5 - (1 vote)

When create a first app in Ruby  on Rails maybe you will meet this error, so how to resolve it?

Ok, Let’s fix it.

Go to app/views/layouts/application.html.erb and edit following line:

<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>

to

<%= javascript_include_tag 'default', 'data-turbolinks-track' => true %>

Or you can remove that line.

Now, you try test again!

Rails ExecJS ProgramError in View
Rails ExecJS ProgramError in View

Thank for reading!

Các bài viết không xem thì tiếc:

Thảo luận

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Xem thêm
Nếu bạn dùng dịch vụ VPS của DigitalOcean thì chắc…
 
 
 
 
Facetime iPhone

Main Menu