There was an error while loading. Please reload this page.
1 parent b366ffa commit 054a963Copy full SHA for 054a963
1 file changed
ct/homepage.sh
@@ -27,14 +27,9 @@ function update_script() {
27
msg_error "No ${APP} Installation Found!"
28
exit
29
fi
30
- if [[ "$(node -v | cut -d 'v' -f 2)" == "18."* ]]; then
31
- if ! command -v npm >/dev/null 2>&1; then
32
- echo "Installing NPM..."
33
- $STD apt-get install -y npm
34
- $STD npm install -g pnpm
35
- echo "Installed NPM..."
36
- fi
37
+
+ NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
38
# ensure that jq is installed
39
if ! command -v jq &>/dev/null; then
40
$STD msg_info "Installing jq..."
0 commit comments