Skip to content

Commit

Permalink
fix: keystone dep breaks yarn 4 installation
Browse files Browse the repository at this point in the history
If you try to use web3-onboard with yarn v4 (although I think the
problem will be there with yarn v2 and v3) it fails with:
YN0001: │ Error: @keystonehq/eth-keyring@^0.14.00.3 isn't supported by
any available resolver

First install is ok, but if you run the install again you’ll get the
above. 0.14.00.3 is apparently not a valid range and the only way to
get this fixed is to fix the dependency. Yarn v1 resolves
0.14.00.3 to 0.14.4 and that is the version I’ve set here.
  • Loading branch information
compojoom committed Dec 12, 2024
1 parent fda8a50 commit 61efba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/keystone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"dependencies": {
"@ethereumjs/tx": "^3.4.0",
"@ethersproject/providers": "^5.5.0",
"@keystonehq/eth-keyring": "^0.14.00.3",
"@keystonehq/eth-keyring": "^0.14.4",
"@web3-onboard/common": "^2.4.1",
"@web3-onboard/hw-common": "^2.3.2"
}
Expand Down

0 comments on commit 61efba9

Please sign in to comment.