saitejas-MacBook-Air:Inbox saitejakuruva$ sudo node compile.js assert.js:340 throw err; ^
AssertionError [ERR_ASSERTION]: Invalid callback specified. at wrapCallback (/Users/saitejakuruva/node_modules/solc/wrapper.js:16:5) at runWithReadCallback (/Users/saitejakuruva/node_modules/solc/wrapper.js:42:26) at compileStandard (/Users/saitejakuruva/node_modules/solc/wrapper.js:83:14) at Object.compileStandardWrapper (/Users/saitejakuruva/node_modules/solc/wrapper.js:90:14) at Object. (/Users/saitejakuruva/Documents/Inbox/compile.js:6:18) at Module._compile (internal/modules/cjs/loader.js:799:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10) at Module.load (internal/modules/cjs/loader.js:666:32) at tryModuleLoad (internal/modules/cjs/loader.js:606:12) at Function.Module._load (internal/modules/cjs/loader.js:598:3)
I have faced the above error when I am trying to compile a simple solidity contract.I am also providing the link of the code that I have written for compiling the contract.
https://i.sstatic.net/OAxMy.png Please help me out asap.