Update scrypted-install.sh

add npm (node 18.x stopped utilizing npm by default)
This commit is contained in:
tteckster 2023-12-30 07:11:02 -05:00 committed by GitHub
parent 77cd36e094
commit 109b0893c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,10 +71,11 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js"
msg_info "Installing Node.js/npm"
$STD apt-get update
$STD apt-get install -y nodejs
msg_ok "Installed Node.js"
$STD apt-get install -y npm
msg_ok "Installed Node.js/npm"
msg_info "Updating Python3"
$STD apt-get install -y \