eshon / ol3buildr

0 stars 0 forks source link

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

Open eshon opened 5 years ago

eshon commented 5 years ago

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)