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

Fatal Error during first 'npm start'

I was trying to start npm from the project inside the Download zip file... (during Redux Initial Setup - Dev Dependencies)

  1. I downloaded...
  2. I run npm install
  3. I run npm start
[0] multi main 52 bytes {0} [built] [1 error]
....
ERROR in multi main
Module not found: Error: Cannot resolve 'file' or 'directory' ./index.js in /Users/gblasco/WebstormProjects/react-redux-course
 @ multi main
webpack: Failed to compile.

I don't know what else to do, I've tried everything I could find in stackoverflow...

Guil Hernandez

2 Answers

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hi Gonzalo Blasco,

It looks like you're missing the steps covered in the next video on Redux Initial Setup - index.js. The project won't build because it's missing the file index.js. Let me know if that fixes it. :)

I found out that during next video... Ups, sorry... Thanks Guil...