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

Error at npm start: fsevents is not a constructor #10

Open
dmitry-vegner opened this issue Jan 28, 2022 · 0 comments
Open

Error at npm start: fsevents is not a constructor #10

dmitry-vegner opened this issue Jan 28, 2022 · 0 comments

Comments

@dmitry-vegner
Copy link

When install all npm-packets and run npm start script ends and error shows up:

Starting the development server...

/Users/nevada/Desktop/react-controlled-components-examples/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/nevada/Desktop/react-controlled-components-examples/node_modules/chokidar/lib/fsevents-handler.js:28:11)
    at setFSEventsListener (/Users/nevada/Desktop/react-controlled-components-examples/node_modules/chokidar/lib/fsevents-handler.js:82:16)
    at FSWatcher.FsEventsHandler._watchWithFsEvents (/Users/nevada/Desktop/react-controlled-components-examples/node_modules/chokidar/lib/fsevents-handler.js:252:16)
    at FSWatcher.<anonymous> (/Users/nevada/Desktop/react-controlled-components-examples/node_modules/chokidar/lib/fsevents-handler.js:386:25)
    at LOOP (node:fs:2607:14)
    at processTicksAndRejections (node:internal/process/task_queues:78:11)

Node.js v17.1.0
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

1 participant