Problem following Getting Started Guide - ExecJS::ProgramError in Welcome#index

Hi, completely new to rails here. I am following the rails getting started guide on a windows machine. In 4.2 Hello Rails section, an error is thrown ExecJS::ProgramError in Welcome#index. I’ve got it working by changing “application” to “default” in lines 5 & 6 in app/views/layouts/application.html.erb as suggested in a SO answer but I feel this is a dirty work around. What is the reason for the issue and what is the proper way to fix it?

What was the full error that you got? The exception class by itself won’t do.