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

truffle serve :Error building Build configuration can no longer be specified as an object #20

Open
eshon opened this issue May 15, 2019 · 2 comments

Comments

@eshon
Copy link
Owner

eshon commented May 15, 2019

I got this error.

Truffle v3.2.1

$ truffle serve
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.
@eshon
Copy link
Owner Author

eshon commented May 15, 2019

➤ wudongyang commented:

MAC 10.12.6

@eshon
Copy link
Owner Author

eshon commented May 15, 2019

➤ wudongyang commented:

Change to Truffle v4.0.4

$ truffle serve
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/local/lib/node_modules/truffle/build/cli.bundled.js:220978
return (new fsevents(path)).on('fsevent', callback).start();
^

TypeError: fsevents is not a constructorinstalled fsevnts does not work, same error.

npm install -g fsevents
npm uninstall -g truffle
npm install -g truffle

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