From fced2347fde033c98c8ed19858d7aad1a3c057f8 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 29 Jun 2023 10:11:46 -0400 Subject: [PATCH] Update dashy-install.sh fix install Debian 12 compatible --- install/dashy-install.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install/dashy-install.sh b/install/dashy-install.sh index 50078550..c83907fb 100644 --- a/install/dashy-install.sh +++ b/install/dashy-install.sh @@ -23,11 +23,13 @@ $STD apt-get install -y g++ $STD apt-get install -y gcc 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 +$STD npm install -g pnpm msg_ok "Installed Node.js" msg_info "Installing Yarn"