안녕하세요. react example 파일을 local환경에서 돌리니 아래와 같은 에러가 발생하는데 해결할 방법이 있을까요?
/Users/###/Desktop/##/2_workspace/0_example/iamport-react-example/node_modules/chokidar/lib/fsevents-handler.js:29
return (new fsevents(path)).on('fsevent', callback).start();
^
TypeError: fsevents is not a constructor
at createFSEventsInstance (/Users/###/Desktop/##/2_workspace/0_example/iamport-react-example/node_modules/chokidar/lib/fsevents-handler.js:29:11)
at setFSEventsListener (/Users/###/Desktop/##/2_workspace/0_example/iamport-react-example/node_modules/chokidar/lib/fsevents-handler.js:83:16)
at FSWatcher.FsEventsHandler._watchWithFsEvents (/Users/###/Desktop/##/2_workspace/0_example/iamport-react-example/node_modules/chokidar/lib/fsevents-handler.js:253:16)
at FSWatcher. (/Users/###/Desktop/##/2_workspace/0_example/iamport-react-example/node_modules/chokidar/lib/fsevents-handler.js:387:25)
at LOOP (fs.js:1902:14)
at processTicksAndRejections (internal/process/task_queues.js:77:11)
안녕하세요. react example 파일을 local환경에서 돌리니 아래와 같은 에러가 발생하는데 해결할 방법이 있을까요?
/Users/###/Desktop/##/2_workspace/0_example/iamport-react-example/node_modules/chokidar/lib/fsevents-handler.js:29 return (new fsevents(path)).on('fsevent', callback).start(); ^
TypeError: fsevents is not a constructor at createFSEventsInstance (/Users/###/Desktop/##/2_workspace/0_example/iamport-react-example/node_modules/chokidar/lib/fsevents-handler.js:29:11) at setFSEventsListener (/Users/###/Desktop/##/2_workspace/0_example/iamport-react-example/node_modules/chokidar/lib/fsevents-handler.js:83:16) at FSWatcher.FsEventsHandler._watchWithFsEvents (/Users/###/Desktop/##/2_workspace/0_example/iamport-react-example/node_modules/chokidar/lib/fsevents-handler.js:253:16) at FSWatcher. (/Users/###/Desktop/##/2_workspace/0_example/iamport-react-example/node_modules/chokidar/lib/fsevents-handler.js:387:25)
at LOOP (fs.js:1902:14)
at processTicksAndRejections (internal/process/task_queues.js:77:11)