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

does not work

http://127.0.0.1:3000/statuses does not work and i did everything on the tutorial

3 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey Elikem Kuivi can you post a screenshot or copy and paste the error you're getting? What does it say when it doesn't work?

The problem was an ExecJS Error saying there was a syntax error in line six of the application.js file, even though I did not edit the application.js file. I googled ways to solve the problem and it turns out its a problem with windows 8. The suggested ways to solve the error was to (1)delete the phrase "\ require tree" in the application.js file, or (2) install node.js to the pc, or (3) go to the runtimes.rb file and in the part where JScript is declared, delete the "\U" in the "command" part, and change the 'UTF-16LE' to 'UTF-8' in the ":encoding" part. I did (1), and then did (3), and then put back "\ require tree" in the application.js file. The error was fixed after that.

For the future you only need to delete the require tree" in the application.js to get it working.