You can try specifying a gas amount in your migrations/2_deploy_contracts.js
Mahesh Murthy
11

I’m getting the same error. Increasing the gas in the migration results in a new error:

$ truffle migrate
Using network 'development'.
Running migration: 2_deploy_contracts.js
Deploying Voting...
... undefined
Error encountered, bailing. Network state unknown. Review successful transactions manually.
Error: exceeds block gas limit
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.