From 825070b914e42f91255e9f5182cb87577cecd342 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 28 Jun 2023 19:55:52 -0400 Subject: [PATCH] Update homepage-install.sh Fix install Debian 12 compatible --- install/homepage-install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/install/homepage-install.sh b/install/homepage-install.sh index 129195e4..f0c221e5 100644 --- a/install/homepage-install.sh +++ b/install/homepage-install.sh @@ -20,11 +20,12 @@ $STD apt-get install -y mc $STD apt-get install -y git msg_ok "Installed Dependencies" +msg_info "Setting up Node.js Repository" +$STD bash <(curl -fsSL https://deb.nodesource.com/setup_18.x) +msg_ok "Set up Node.js Repository" + msg_info "Installing Node.js" -$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh) -. ~/.bashrc -$STD nvm install 16.20.1 -ln -sf /root/.nvm/versions/node/v16.20.1/bin/node /usr/bin/node +$STD apt-get install -y nodejs git make g++ gcc $STD npm install -g pnpm msg_ok "Installed Node.js"