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

Error: jsonld@https://github.com/digitalcredentials/jsonld.js.git#commit=afa0062460b987bd42887b3a294cf0e0a0e5bde7: Manifest not found #1407

Open
theblockstalk opened this issue Jul 31, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@theblockstalk
Copy link

theblockstalk commented Jul 31, 2024

Bug severity
4 - afecting anyone using @veramo/credential-w3c that uses yarn berry (v2+) as package manager

To Reproduce

npm init
yarn
# all good
yarn set version 4.3.1
yarn
# still all good up to here...
yarn add @veramo/credential-w3c

Observed behaviour

dev@dev-VirtualBox:~/Downloads/my-app$ yarn add @veramo/credential-w3c
➤ YN0000: · Yarn 4.3.1
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: jsonld@https://github.com/digitalcredentials/jsonld.js.git#commit=afa0062460b987bd42887b3a294cf0e0a0e5bde7: Manifest not found
    at cE.find (/home/dev/.cache/node/corepack/v1/yarn/4.3.1/yarn.js:140:120099)
    at async /home/dev/.cache/node/corepack/v1/yarn/4.3.1/yarn.js:520:11979
    at async Object.xZe (/home/dev/.cache/node/corepack/v1/yarn/4.3.1/yarn.js:140:53732)
    at async B2.resolve (/home/dev/.cache/node/corepack/v1/yarn/4.3.1/yarn.js:520:11940)
    at async Pd.resolve (/home/dev/.cache/node/corepack/v1/yarn/4.3.1/yarn.js:141:1451)
    at async Pd.resolve (/home/dev/.cache/node/corepack/v1/yarn/4.3.1/yarn.js:141:1451)
    at async /home/dev/.cache/node/corepack/v1/yarn/4.3.1/yarn.js:210:7249
    at async Yy (/home/dev/.cache/node/corepack/v1/yarn/4.3.1/yarn.js:140:53795)
    at async Z (/home/dev/.cache/node/corepack/v1/yarn/4.3.1/yarn.js:210:7231)
➤ YN0000: └ Completed in 5s 524ms
➤ YN0000: · Failed with errors in 5s 583ms

Expected behaviour
Package installs

Additional context
See digitalcredentials/jsonld-signatures#8

Versions (please complete the following information):

  • Node Version 22.3.0
@theblockstalk theblockstalk added the bug Something isn't working label Jul 31, 2024
@theblockstalk
Copy link
Author

Solved by adding the following to package.json

  "resolutions": {
    "@veramo/credential-ld": "5.6.0"
  }

@theblockstalk
Copy link
Author

theblockstalk commented Aug 1, 2024

Also can be solved with

package.json

"resolutions": {
        "jsonld": "link:./node_modules/@digitalcredentials/jsonld",
    }

@mirceanis
Copy link
Member

Also can be solved with

package.json

"resolutions": {
        "jsonld": "link:./node_modules/@digitalcredentials/jsonld",
    }

I was under the impression that you are already doing this

@mirceanis
Copy link
Member

@theblockstalk thanks to your efforts I set up a troubleshooting guide on veramo.io

See uport-project/veramo-website#147

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

No branches or pull requests

2 participants