From 61efba9a2543b89bcbaa63b773b3aac25c4984a7 Mon Sep 17 00:00:00 2001 From: Daniel Dimitrov Date: Thu, 12 Dec 2024 11:38:51 +0100 Subject: [PATCH] fix: keystone dep breaks yarn 4 installation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- packages/keystone/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/keystone/package.json b/packages/keystone/package.json index 9b37c7ff5..9988ceac2 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -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" }