Error while deploying the smart contract in Ethereum


(Krishna0727) #1

Krishna:Voting krishnakankipati$ node deploy.js
Compiling the contract
assert.js:350
throw err;
^

AssertionError [ERR_ASSERTION]: Invalid callback specified.
at wrapCallback (/Users/krishnakankipati/Nemesis/Pisces/Voting/node_modules/solc/wrapper.js:16:5)
at runWithReadCallback (/Users/krishnakankipati/Nemesis/Pisces/Voting/node_modules/solc/wrapper.js:42:26)
at compileStandard (/Users/krishnakankipati/Nemesis/Pisces/Voting/node_modules/solc/wrapper.js:83:14)
at Object.compileStandardWrapper (/Users/krishnakankipati/Nemesis/Pisces/Voting/node_modules/solc/wrapper.js:90:14)
at compileContract (/Users/krishnakankipati/Nemesis/Pisces/Voting/deploy.js:23:37)
at Object. (/Users/krishnakankipati/Nemesis/Pisces/Voting/deploy.js:5:16)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)