From e510be9f59009e9e6db8ddd4e81e45408504a2e2 Mon Sep 17 00:00:00 2001 From: Nicholas Ellul Date: Thu, 4 Apr 2024 14:18:13 -0400 Subject: [PATCH 1/2] Bump minimum yarn version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 06c6543f296..87c73e8a6ae 100644 --- a/package.json +++ b/package.json @@ -511,7 +511,7 @@ }, "engines": { "node": "~18.18.2", - "yarn": "^1.22.0" + "yarn": ">=1.22.22 <2.0.0" }, "lavamoat": { "allowScripts": { From db30852620bfdc294c6c924a44ae00cdf1a89ec6 Mon Sep 17 00:00:00 2001 From: Nicholas Ellul Date: Thu, 4 Apr 2024 14:24:49 -0400 Subject: [PATCH 2/2] Update environment setup docs --- docs/readme/environment.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/readme/environment.md b/docs/readme/environment.md index 0f965a7ed33..477a9535eec 100644 --- a/docs/readme/environment.md +++ b/docs/readme/environment.md @@ -63,6 +63,8 @@ With the correct Node version installed, Yarn v1 can be installed sudo-less in y npm install -g yarn ``` +Ensure that the installed version is within the range of supported versions specified in the `engines` section of [package.json](https://github.com/MetaMask/metamask-mobile/blob/main/package.json). + ## Android Install [Android Studio](https://developer.android.com/studio)