15%

KHUYẾN MẠI

Giảm giá khi nâng cấp web năm 2023

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?

Rails ExecJS ProgramError in View

Rails ExecJS ProgramError in View

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!

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