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 trialJessie Gibson
Courses Plus Student 9,494 PointsI keep getting an error in the console that says that the http://localhost:3000/mock/todos.json is not found.
I am wondering which directory that Mock file should be in? Currently I have created the mock folder is directly siblings with the src folder.
Is this not correct?
1 Answer
Ken Howard
Treehouse Guest TeacherTake a look at this similar question -> https://teamtreehouse.com/community/error-cannot-find-module-mocktodosjson
Let me know if this doesn't fix your issue.