작성
·
809
0
cilent 에 npm install 을 할 때 에러가 나고(root는 정상적 install)
npm run dev 으로 실행하니까 프론트엔드에서 저런 에러가 나오네요.
fsevents, grpc, node-pre-gyp 다 실행해봤는데 고쳐지지 않아요.. 도와주세요!
/Users/donghakim/Desktop/coding/react-chat/react-chat/client/node_modules/chokidar/lib/fsevents-handler.js:28
[1] return (new fsevents(path)).on('fsevent', callback).start();
[1] ^
[1]
[1] TypeError: fsevents is not a constructor
[1] at createFSEventsInstance (/Users/donghakim/Desktop/coding/react-chat/react-chat/client/node_modules/chokidar/lib/fsevents-handler.js:28:11)
[1] at setFSEventsListener (/Users/donghakim/Desktop/coding/react-chat/react-chat/client/node_modules/chokidar/lib/fsevents-handler.js:82:16)
[1] at FSWatcher.FsEventsHandler._watchWithFsEvents (/Users/donghakim/Desktop/coding/react-chat/react-chat/client/node_modules/chokidar/lib/fsevents-handler.js:252:16)
[1] at FSWatcher.<anonymous> (/Users/donghakim/Desktop/coding/react-chat/react-chat/client/node_modules/chokidar/lib/fsevents-handler.js:386:25)
[1] at LOOP (fs.js:1786:14)
[1] at processTicksAndRejections (internal/process/task_queues.js:75:11)
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! client@0.1.0 start: `react-scripts start`
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the client@0.1.0 start script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[1]
[1] npm ERR! A complete log of this run can be found in:
[1] npm ERR! /Users/donghakim/.npm/_logs/2020-07-08T06_49_46_985Z-debug.log
[1] npm run start --prefix client exited with code 1