diff --git a/images/macos/provision/core/node.sh b/images/macos/provision/core/node.sh index 9e858503..db012971 100644 --- a/images/macos/provision/core/node.sh +++ b/images/macos/provision/core/node.sh @@ -8,7 +8,8 @@ brew_smart_install "node@$defaultVersion" brew link node@$defaultVersion --force --overwrite echo Installing yarn... -curl -fsSL https://yarnpkg.com/install.sh | bash +download_with_retries "https://yarnpkg.com/install.sh" "/tmp" "yarn-install.sh" +bash /tmp/yarn-install.sh if ! is_Ventura || ! is_VenturaArm64; then npm_global_packages=$(get_toolset_value '.npm.global_packages[].name')