fix(script/bootstrap): Improve missing Yarn error (#22308)

pull/22325/head
Alex Jurkiewicz 2024-10-10 23:27:22 +08:00 committed by GitHub
parent 0e8783fb01
commit 1bb871b9ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -18,5 +18,9 @@ if [[ -n "$DEVCONTAINER" ]]; then
fi
fi
if ! command -v yarn &> /dev/null; then
echo "Error: yarn not found. Please install it following the official instructions: https://yarnpkg.com/getting-started/install" >&2
exit 1
fi
# Install node modules
yarn install
yarn install