verida-js: [verifiable-credential]: version error in did-jwt dependency
Problem:
I tried to link the @verida/verifiable-credentials packages locally in my machine in order to test with on of our demos,
but it an throws error which prevents the vue app to start.
previous did-jwt version 5.12.1. downgraded to 5.7.0 still having same issues
How to reproduce the error
- Cd to the
verifiable-credentialfolder - Yarn link
@verida/verifiable-credentialsin the folder - Clone the credential-scanner-demo and check to
1-update-librariesbranch - Yarn link
@verida/verifiable-credentials - Start the demo app
npm run serve
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 27 (27 by maintainers)
Commits related to this issue
- fix: downgraded didjwt package from 5.12.1 to 5.7.0 #118 — committed to verida/verida-js by cmcWebCode40 3 years ago
I’ll wait for @cmcWebCode40 to confirm this he can use
credential-scanner-web, but I believe this issue can be closed.The issue is caused by a double question mark
"??"which is ES2020 syntax. For some reason, that isn’t being compiled correctly.We should that fix issue and then use the latest versions of the
did-jwtanddid-jwt-vclibraries.@kalanamt will find a solution 😃
Hey @kalanamt adding you to this because we’d like you to look at this at some point (not an immediate priority)