I'm trying to start the server by typing npm start on mac os and I get this error:
TypeError: fsevents is not a constructor at createFSEventsInstance (/Users/yazanalmatar/Desktop/React Projects/project/node_modules/chokidar/lib/fsevents-handler.js:28:11) at setFSEventsListener (/Users/yazanalmatar/Desktop/React Projects/project/node_modules/chokidar/lib/fsevents-handler.js:82:16) at FSWatcher.FsEventsHandler._watchWithFsEvents (/Users/yazanalmatar/Desktop/React Projects/project/node_modules/chokidar/lib/fsevents-handler.js:252:16) at FSWatcher. (/Users/yazanalmatar/Desktop/React Projects/project/node_modules/chokidar/lib/fsevents-handler.js:386:25) at LOOP (fs.js:1565:14) at process._tickCallback (internal/process/next_tick.js:61:11) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! project@0.1.0 start: react-scripts start
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the project@0.1.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/yazanalmatar/.npm/_logs/2019-05-04T16_59_09_182Z-debug.log
I tried to update npm and node and it's the same
I also have this problem. Have you found a working solution?
RépondreSupprimer