Ethereum "truffle server" gives error: TypeError: fsevents is not a constructor

0 votes

I created project using truffle init webpack. But now I am facing error

How to solve truffle server throws this error:

TypeError: fsevents is not a constructor

at createFSEventsInstance (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:123804:11)

at setFSEventsListener (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:123858:16)

at FSWatcher.FsEventsHandler._watchWithFsEvents (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:124022:16)

at FSWatcher. (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:124156:25)

at gotStat (fs.js:1785:21)

at FSReqWrap.oncomplete (fs.js:152:21)
Nov 30, 2018 in Blockchain by digger
• 27,620 points
63 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Looks like you have files missing. 

Try creating project with:

truffle unbox webpack
answered Nov 30, 2018 by Omkar
• 65,810 points

Related Questions In Blockchain

0 votes
1 answer

Truffle tutorials "Error:recipient address is not a contract address"

It appears like you have already migrated ...READ MORE

answered Aug 8, 2018 in Blockchain by slayer
• 29,040 points
157 views
0 votes
1 answer

Error using EtherJS: this.provider.getTransactionCount is not a function

With this line it should work fine: wallet.provider ...READ MORE

answered Sep 26, 2018 in Blockchain by digger
• 27,620 points
69 views
0 votes
1 answer

Solidity mocha : address is not a contract error

Try the following: // Initialize contract variable with ...READ MORE

answered Oct 1, 2018 in Blockchain by digger
• 27,620 points
24 views
0 votes
1 answer

Ethereum truffle server command not working

Try this command to create project: truffle init ...READ MORE

answered Nov 29, 2018 in Blockchain by Omkar
• 65,810 points
71 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
60 views
0 votes
1 answer
0 votes
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured by TLS encryption in hashgraph architecture-hashgraph, ...READ MORE

answered Aug 6, 2018 in Blockchain by ariaholic
• 7,320 points
42 views
0 votes
1 answer

TypeError: XMLHttpRequest is not a function when using web3 on meteor server side

I had the same problem. Instead ethereum:web3 Meteor package ...READ MORE

answered Oct 10, 2018 in Blockchain by Omkar
• 65,810 points
40 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.