Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-example file -> fsevents is not a constructor #30

Open
yunyami0605 opened this issue Oct 8, 2021 · 2 comments
Open

react-example file -> fsevents is not a constructor #30

yunyami0605 opened this issue Oct 8, 2021 · 2 comments

Comments

@yunyami0605
Copy link

안녕하세요. 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)

@crowrish
Copy link

npm package 재설치를 추천드립니다.

facebook/create-react-app#6891

yarn: '1.22.15',
node: '14.16.0'
이 환경에서 테스트 해봤는데 문제 없었습니다.

@timo-kang
Copy link

iamport를 웹에서 사용하려면 jquery도 필요하니 확인하시면 될 것 같습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants