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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Andrew Hinkson](https://secure.gravatar.com/avatar/cbd023c6054703bcb6be8603a3eebdba?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Andrew Hinkson
Full Stack JavaScript Techdegree Graduate 25,822 PointsCant get the client to run.
I can get the API to install and run correctly but the client gives an error:
/Users/andrewhinkson/Documents/Practice/Unit10Practice/React Hooks Practice/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/andrewhinkson/Documents/Practice/Unit10Practice/React Hooks Practice/client/node_modules/chokidar/lib/fsevents-handler.js:28:11)
at setFSEventsListener (/Users/andrewhinkson/Documents/Practice/Unit10Practice/React Hooks Practice/client/node_modules/chokidar/lib/fsevents-handler.js:82:16)
at FSWatcher.FsEventsHandler._watchWithFsEvents (/Users/andrewhinkson/Documents/Practice/Unit10Practice/React Hooks Practice/client/node_modules/chokidar/lib/fsevents-handler.js:252:16)
at FSWatcher.<anonymous> (/Users/andrewhinkson/Documents/Practice/Unit10Practice/React Hooks Practice/client/node_modules/chokidar/lib/fsevents-handler.js:386:25)
at LOOP (fs.js:1803:14)
at processTicksAndRejections (internal/process/task_queues.js:75:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-hooks-practice@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-hooks-practice@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Im running: macOS Cataline 10.15.7 npm -v 6.14.11
Any help would be appreciated.
![Aidan Byrne](https://secure.gravatar.com/avatar/2f91f0e85ba479c3f199599a84d30f5a?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Aidan Byrne
1,444 PointsI came across the same issue while running the client. Resolved using this method - https://stackoverflow.com/questions/42308879/how-to-solve-npm-error-npm-err-code-elifecycle
1 Answer
![Cristian David](https://secure.gravatar.com/avatar/df538403e9d705af8d186b754d7ce0f6?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Cristian David
33 PointsWhere can i find the code to do the practice ? i cant find it ! do i need the Courses Plus subscription?
![Reggie Williams](https://secure.gravatar.com/avatar/d507dda3fc333f07c7b5b70d3ef37c8e?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Reggie Williams
Treehouse TeacherHey Cristian David are you able to see the project downloads section of this video's page?
Reggie Williams
Treehouse TeacherReggie Williams
Treehouse TeacherHey Andrew Hinkson were you able to resolve this?