(node:16339) ExperimentalWarning: The fs.promises API is experimental
/Users/ishansrivastava/Desktop/web3js-samples/node_modules/web3-utils/src/index.js:192
throw new Error('Please pass numbers as strings or BigNumber objects to avoid precision errors.');
^
Error: Please pass numbers as strings or BigNumber objects to avoid precision errors.
at Object.fromWei (/Users/ishansrivastava/Desktop/web3js-samples/node_modules/web3-utils/src/index.js:192:15)
at Object.callback (/Users/ishansrivastava/Desktop/web3js-samples/index.js:9:25)
at sendTxCallback (/Users/ishansrivastava/Desktop/web3js-samples/node_modules/web3-core-method/src/index.js:486:29)
at /Users/ishansrivastava/Desktop/web3js-samples/node_modules/web3-core-requestmanager/src/index.js:147:9
at XMLHttpRequest.request.onreadystatechange (/Users/ishansrivastava/Desktop/web3js-samples/node_modules/web3-providers-http/src/index.js:77:13)
at XMLHttpRequestEventTarget.dispatchEvent (/Users/ishansrivastava/Desktop/web3js-samples/node_modules/xhr2/lib/xhr2.js:64:18)
at XMLHttpRequest._setReadyState (/Users/ishansrivastava/Desktop/web3js-samples/node_modules/xhr2/lib/xhr2.js:354:12)
at XMLHttpRequest._onHttpResponseEnd (/Users/ishansrivastava/Desktop/web3js-samples/node_modules/xhr2/lib/xhr2.js:509:12)
at IncomingMessage.<anonymous> (/Users/ishansrivastava/Desktop/web3js-samples/node_modules/xhr2/lib/xhr2.js:469:24)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1086:12)
at process._tickCallback (internal/process/next_tick.js:63:19)