minor fixes

This commit is contained in:
CanbiZ (MickLesk)
2026-04-17 07:44:01 +02:00
parent bf544e28e5
commit 3aebeb8c8c
4 changed files with 9 additions and 6 deletions

View File

@@ -203,9 +203,10 @@ EOF
msg_ok "Cloned HyperDX v${HDX_VERSION}"
msg_info "Enabling Corepack"
$STD corepack enable
$STD corepack prepare yarn@stable --activate
cd /opt/clickstack
$STD corepack enable
YARN_SPEC=$(node -e "const p=require('./package.json');process.stdout.write(p.packageManager||'yarn@stable')" 2>/dev/null || echo "yarn@stable")
$STD corepack prepare "${YARN_SPEC}" --activate
msg_ok "Enabled Corepack"
msg_info "Building HyperDX"