Update scrypted-install.sh
add npm (node 18.x stopped utilizing npm by default)
This commit is contained in:
parent
77cd36e094
commit
109b0893c4
1 changed files with 3 additions and 2 deletions
|
@ -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
|
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_ok "Set up Node.js Repository"
|
||||||
|
|
||||||
msg_info "Installing Node.js"
|
msg_info "Installing Node.js/npm"
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get install -y nodejs
|
$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"
|
msg_info "Updating Python3"
|
||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
|
|
Loading…
Reference in a new issue