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] @veramo/cli default config uses credential-ld but does not install it. #1042

Closed
mirceanis opened this issue Oct 25, 2022 · 0 comments · Fixed by #1043
Closed

[BUG] @veramo/cli default config uses credential-ld but does not install it. #1042

mirceanis opened this issue Oct 25, 2022 · 0 comments · Fixed by #1043
Assignees
Labels
bug Something isn't working

Comments

@mirceanis
Copy link
Member

Bug severity
3

Describe the bug
Installing @veramo/cli globally should also add the @veramo/credential-ld package as a transitive dependency, as it is referenced in the default config.

To Reproduce

yarn global add @veramo/cli
## or
npm i -g @veramo/cli

veramo config create
veramo did create

## Results in error:
> Unable to create agent from ./agent.yml. Error creating @veramo/credential-ld['VeramoEd25519Signature2018']: Cannot find module '@veramo/credential-ld'

Additional context
A workaround to this is to install the @veramo/credential-ld package manually, either globally, next to @veramo/cli or locally, where the config was created.

Versions (please complete the following information):

  • Veramo: 4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant