Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with code snippet 1_creation.ts #437

Open
GuilhermeMenezes opened this issue Oct 27, 2020 · 0 comments
Open

Bug with code snippet 1_creation.ts #437

GuilhermeMenezes opened this issue Oct 27, 2020 · 0 comments

Comments

@GuilhermeMenezes
Copy link

GuilhermeMenezes commented Oct 27, 2020

Describe the bug
Hello everyone,
I'm trying to run the code snippet 1_creation.ts in order to create a DID for a university project. But when I try to run the code, I get the error that is in the attached files called "1_creationError1".
1_creationError1

That is the code available to us in your snippet codes files. But according to your online documentation if I change line 5 to:

1_creationWorkingButNotRight

I indeed get a DID. But if I run more times it will ALWAYS give me the same DID regardless if I change the secret in the "data.ts" file.
Besides, even if I change the secret, it always shows that warning about the password provided...
So it feels like the code is not correct...
What am I doing wrong?

Thanks in advance for any replies,
Cheers.

To Reproduce
Steps to reproduce the behavior:
In the terminal run inside the folder with the code:

  1. tsc 1_creation.ts
  2. node 1_creation.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant