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

Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Generate a Scaffold

Anthony Pham
Anthony Pham
6,770 Points

Cant load localhost:3000/todo_lists

I keep getting to page that says:

ExecJS::ProgramError in TodoLists#index

TypeError: Object doesn't support this property or method

Rails.root: C: /Users/ Anthony/Documents/odot

Saw the question relatining to this problem and tried installing the NodeJS gem but its still not working. I think I might be doing something wrong when installing NodeJS.

Are you working on a Windows machine?

Can you show your application.html.erb code? Your todo_list index.html.erb code?

Ezekiel dela Peña
Ezekiel dela Peña
6,231 Points

Does your localhost:3000 running?, The one with the "Getting Started" if yes click on the "About your application’s environment" and see if you have your NodeJS running as JS RunTime. If that's the case then you've no problem with installing the NodeJS