Problem:
I have cloned the Hyperledger-Indy SDK repository and then I try to run the nodeJs sample Firstly I issued the command npm run ledger: start
then I issue npm install and then npm run start inside the nodejs folder. After that I got
> samples@1.0.0 start /home/tharindu/indy-sdk/samples/nodejs
> node src/main.js
gettingStarted.js -> started
Open Pool Ledger: pool1
done
(node:4013) UnhandledPromiseRejectionWarning: IndyError: PoolLedgerTimeout
at Object.callback (/home/tharindu/indy-sdk/samples/nodejs/node_modules/indy-sdk/src/wrapIndyCallback.js:15:10)
(node:4013) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:4013) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
This error on the terminal. Can someone help me to solve this issue?. I tried a lot to find out a solution to this problem but I was unable to find out a solution to this problem. Thank you.