From 301058696b73216733a92bac2b46729bc93c14ac Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 1 Jul 2023 16:43:35 -0400 Subject: [PATCH] Update n8n-install.sh fix node --- install/n8n-install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/install/n8n-install.sh b/install/n8n-install.sh index 95a86e73..6f36c40b 100644 --- a/install/n8n-install.sh +++ b/install/n8n-install.sh @@ -19,11 +19,12 @@ $STD apt-get install -y sudo $STD apt-get install -y mc 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 msg_ok "Installed Node.js" msg_info "Installing n8n (Patience)"