Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

ErrorJS::RuntimeError in Statuses#index

I have download and redownloaded Ruby on Rails multiple times and re-followed the instructions step by step, yet whenever I try to open 127.0.0.1:3000/statuses/ it gives me an error page with says this at the top:

ExecJS::RuntimeError in Statuses#index

Showing C:/Users/J_bra_000/Projects/Treebook/app/views/layouts/application.html.erb                                    where line #6 raised:


(in C:/Users/J_bra_000/Projects/Treebook/app/assets/javascripts/statuses.js.coffee)
Extracted source (around line #6):

3: <head>
4:   <title>Treebook</title>
5:   <%= stylesheet_link_tag    "application", :media => "all" %>
6:   <%= javascript_include_tag "application" %>
7:   <%= csrf_meta_tags %>
8: </head>
9: <body>
Rails.root: C:/Users/J_bra_000/Projects/Treebook

I had all of this downloaded on my other computer, which ran Vista, but when I bought my new laptop, which runs windows 8, it would not work. Does anyone know what the problem is or how I can fix it? Also, when I go to 127.0.0.1:3000 it runs fine. Only when I try to go to the status section does the error occur.

2 Answers

Looking for the same answer...

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

I'm not 100% sure this will work but try downloading node from http://nodejs.org/. Install it and then restart your Rails server and give it another try.