TrustID icon indicating copy to clipboard operation
TrustID copied to clipboard

how to run this sdk

Open c20liu opened this issue 4 years ago • 0 comments

I am trying to use DID and I am very interested in TrustID. But following the readme to operate, it can’t be succeed anyway, which makes me feel very painful.

in TrustID/trustid-sdk, when execute "npm install @hyperledger-labs/[email protected]" will get error:

npm ERR! 404 Not found : @hyperledger-labs/trustid-sdk

in TrustID/trustid-sdk/examples, when execute "node getting-started.js", will get

/home/centos/gopath/src/github.com/hyperledger-labs/TrustID/trustid-sdk/node_modules/shamirs-secret-sharing/constants.js:5 const BIT_SIZE = 2 ** BIT_COUNT ^ home/centos/gopath/src/github.com/hyperledger-labs/TrustID/trustid-sdk/node_modules/fabric-ca-client/lib/FabricCAServices.js:115 async register(req, registrar) { ^^^^^^^^ SyntaxError: Unexpected identifier

So can you help me how to execute the example and the sdk...... @ryjones

c20liu avatar Jul 27 '21 03:07 c20liu