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 React Authentication (2019) Introducing the Authentication Project Set up the React App

Alejandro Jiménez-Flores
seal-mask
.a{fill-rule:evenodd;}techdegree
Alejandro Jiménez-Flores
Full Stack JavaScript Techdegree Student 14,981 Points

Also having issues with starter files...

After many attempts and following the instructions. I get this error. : /

/Users/alejandrojimenez/Downloads/project-3/React Authentication/client/node_modules/chokidar/lib/fsevents-handler.js:28 return (new fsevents(path)).on('fsevent', callback).start(); ^

TypeError: fsevents is not a constructor at createFSEventsInstance (/Users/alejandrojimenez/Downloads/project-3/React Authentication/client/node_modules/chokidar/lib/fsevents-handler.js:28:11)

1 Answer

Lee Vaughn
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree seal-36
Lee Vaughn
Treehouse Teacher

Hi Alejandro Jiménez-Flores!

Sounds like there might be something unexpected going on related to your node_modules folder. Try deleting the node_modules folder and the package-lock.json file (not the package.json file!) and then run npm install again and see what happens.

When I download the files I am able to run npm install and npm start and start the app up without issue.

I hope that helps!