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

getting error while running truffle server : TypeError: fsevents is not a constructor #25

Open
riyasoni42 opened this issue Mar 20, 2018 · 0 comments

Comments

@riyasoni42
Copy link

riyasoni42 commented Mar 20, 2018

Serving static assets in ./build on port 8080...
Rebuilding...
Error building:

Build configuration can no longer be specified as an object. Please see our documentation for an updated list of supported build configurations.

Build failed. See above.

/usr/lib/node_modules/truffle/build/webpack://chokidar/lib/fsevents-handler.js:26
return (new fsevents(path)).on('fsevent', callback).start();
^
TypeError: fsevents is not a constructor
at createFSEventsInstance (/usr/lib/node_modules/truffle/build/webpack:/
/chokidar/lib/fsevents-handler.js:26:1)
at setFSEventsListener (/usr/lib/node_modules/truffle/build/webpack://chokidar/lib/fsevents-handler.js:80:1)
at FSWatcher.FsEventsHandler._watchWithFsEvents (/usr/lib/node_modules/truffle/build/webpack:/
/chokidar/lib/fsevents-handler.js:244:1)
at FSWatcher. (/usr/lib/node_modules/truffle/build/webpack:/~/chokidar/lib/fsevents-handler.js:378:1)
at LOOP (fs.js:1781:14)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)

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