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

JavaScript Building Applications with React and Redux Modularizing the React Scoreboard Application Building the Stopwatch Logical Component

Vic A
Vic A
5,452 Points

Issues with module export!

I am having issues with js file finding module (I'm two circles in)!

ERROR in ./Scoreboard.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../components/Stopwatch in /Users

/username/Documents/1-getting-started-with-redux/3-initial-setup-dev-dependencies/react-redux-
course
 @ ./Scoreboard.js 13:17-51
webpack: Failed to compile.

Does anyone know why this is?

Rich Donnellan
Rich Donnellan
Treehouse Moderator 27,696 Points

Did you resolve this? If so, post your solution in case other students have a similar issue.

1 Answer

Vic A
Vic A
5,452 Points

I think I scratched what I was doing. Downloaded the exercise again and started over and I didn't run into that issue again.