diff --git a/scripts/start-web.sh b/scripts/start-web.sh index 714335a..0c09a08 100644 --- a/scripts/start-web.sh +++ b/scripts/start-web.sh @@ -22,6 +22,9 @@ if command -v apt-get >/dev/null 2>&1; then apt-get update -y || true apt-get install -y openssl || true fi + if ! command -v node >/dev/null 2>&1 && [ -x /usr/bin/nodejs ]; then + ln -sf /usr/bin/nodejs /usr/bin/node || true + fi if ! command -v node >/dev/null 2>&1; then echo "[start-web] node not found; installing via apt-get (requires root)" apt-get update -y || true