diff --git a/script/install/install_debian_dependency.sh b/script/install/install_debian_dependency.sh index 8df7730..adbc2d5 100755 --- a/script/install/install_debian_dependency.sh +++ b/script/install/install_debian_dependency.sh @@ -127,7 +127,8 @@ if [ "18.04" == "${UBUNTU_VERSION}" ]; then sudo apt remove nodeJS npm NODE_MAJOR=16 else - NODE_MAJOR=20 + # Node 22+ required by @capacitor/cli v8.x (mobile app dependency) + NODE_MAJOR=22 fi echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list