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!
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
Lots of 404 errors. Cant find helpers.js Treehouse bug?
http://port-80-4bvnm9qtrj.treehouse-app.com/js/playlist.js Failed to load resource: the server responded with a status of 404 (Not Found)
If I copy and paste the function into the beginning of the playlist.js file, everything works fine. So it is accessing the playlist.js file that I created but not the included helpers.js. Is this a treehouse bug?
With your current configuration you will still need to move the playlist.js file into the js folder to avoid 404 errors.
Hi Daniel, Make sure your code is looking for your files in the correct folder.
There is something REALLY weird going on here, when I go back into my workspace, not the snapshot, the helpsers.js file is inside the js directory. The playlist.js file is not and even though the helpers.js file is in the js, directory and the proper path is in the index.html, I still get a 404 error for the helpers.js. I downloaded the zip of project files and have been working locally with no issues. I moved the playlist.js into the js folder and all seems to be working.