From ddb20059c26d130dfc0a021fb8063c16824424f1 Mon Sep 17 00:00:00 2001 From: Esdras Renan Date: Wed, 19 Nov 2025 18:39:11 -0300 Subject: [PATCH] chore: ensure node symlink for next start --- scripts/start-web.sh | 3 +++ 1 file changed, 3 insertions(+) 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