Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

how to run this sdk #44

Open
c20liu opened this issue Jul 27, 2021 · 0 comments
Open

how to run this sdk #44

c20liu opened this issue Jul 27, 2021 · 0 comments
Assignees

Comments

@c20liu
Copy link

c20liu commented Jul 27, 2021

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 c20liu changed the title how to run this sdk (Feel very painful) how to run this sdk Jul 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants