Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
25,768 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.