diff --git a/script/bootstrap b/script/bootstrap index 73e44806f9..50dae6f6d8 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -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