Update dashy-install.sh

fixed install
closes https://github.com/tteck/Proxmox/issues/1564
This commit is contained in:
tteckster 2023-06-29 11:23:39 -04:00 committed by GitHub
parent d9b9e7a851
commit 6b02a5ec0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 9 deletions

View File

@ -18,22 +18,20 @@ $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc $STD apt-get install -y mc
$STD apt-get install -y git $STD apt-get install -y git
$STD apt-get install -y make
$STD apt-get install -y g++
$STD apt-get install -y gcc
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Installing Node.js (Patience)"
$STD bash <(curl -fsSL https://deb.nodesource.com/setup_16.x) $STD apt-get install -y npm
msg_ok "Set up Node.js Repository" $STD npm cache clean -f
$STD npm install -g n
msg_info "Installing Node.js" $STD n 16.20.1
$STD apt-get install -y nodejs=16.20.1
$STD npm install -g pnpm $STD npm install -g pnpm
ln -sf /usr/local/bin/node /usr/bin/node
msg_ok "Installed Node.js" msg_ok "Installed Node.js"
msg_info "Installing Yarn" msg_info "Installing Yarn"
$STD npm install --global yarn $STD npm install --global yarn
ln -sf /usr/local/bin/yarn /usr/bin/yarn
msg_ok "Installed Yarn" msg_ok "Installed Yarn"
msg_info "Installing Dashy (Patience)" msg_info "Installing Dashy (Patience)"