forked from digitalbazaar/jsonld-signatures
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cannot build using yarn berry #8
Comments
Found this solution works: decentralized-identity/veramo#1407 (comment) package.json "resolutions": {
"jsonld": "link:./node_modules/@digitalcredentials/jsonld",
} |
@theblockstalk Good to close? |
@dmitrizagidulin FYI |
Closing this ticket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Building this package using yarn fails due to the github branch reference:
"jsonld": "digitalcredentials/jsonld.js#v10.x",
https://github.com/digitalcredentials/jsonld.js
I first found this error when trying to build the https://veramo.io upstream packages that depend on this using the latest
yarn
(v4.3.1). In that installation, there is no control over thedigitalcredentials/jsonld-signatures
ordigitalcredentials/jsonld
packages.Therefore this problem Is affecting all upstream repositories that use the latest version of
yarn
as a package manager.Steps to reproduce
Problem #1
dev@dev-VirtualBox:~/Documents/Git/ssi/jsonld-signatures$ yarn ➤ YN0000: · Yarn 4.3.1 ➤ YN0000: ┌ Resolution step ➤ YN0001: │ Error: jsonld@https://github.com/digitalcredentials/jsonld.js.git#commit=afa0062460b987bd42887b3a294cf0e0a0e5bde7: Packing the package failed (exit code 1, logs can be found here: /tmp/xfs-5d886d6c/pack.log)
pack.log
Problem #2
I tried installing
webpack
globally withnpm i -g webpack
but then I get this error:The text was updated successfully, but these errors were encountered: