From 4acac31ad67508b559157bce635a276024f7b45a Mon Sep 17 00:00:00 2001 From: Priyanka Punukollu Date: Sun, 1 Mar 2026 01:40:43 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20add=20Node.js=2020=20to=20web=20service?= =?UTF-8?q?=20Railway=20build=20=E2=80=94=20nixpacks=20needs=20explicit=20?= =?UTF-8?q?Node=20setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- .node-version | 1 + railway.toml | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 .node-version diff --git a/.node-version b/.node-version new file mode 100644 index 000000000..209e3ef4b --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +20 diff --git a/railway.toml b/railway.toml index 8ca3b34c6..2c59a858b 100644 --- a/railway.toml +++ b/railway.toml @@ -1,6 +1,9 @@ [build] builder = "nixpacks" +[build.nixpacksPlan.phases.setup] +nixPkgs = ["nodejs_20", "npm-9_x"] + [deploy] startCommand = "node dist/apps/api/main.js" healthcheckPath = "/api/v1/health"