修复依赖

This commit is contained in:
user123
2026-01-29 18:31:53 +08:00
parent 84a7a5bb18
commit 1d70828eb6

View File

@@ -72,7 +72,8 @@ install_nodejs() {
fi
log_info "正在安装Node.js"
apt-get install -y curl
[ -d /etc/apt/sources.list.d ] || mkdir -p /etc/apt/sources.list.d
apt-get install -y curl git
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt-get install -y nodejs