From ee276c49955551de9f3383adb40bb23b40a575d8 Mon Sep 17 00:00:00 2001 From: Priyanka Punukollu Date: Sun, 1 Mar 2026 02:41:31 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20use=20Node=2022=20for=20web=20=E2=80=94?= =?UTF-8?q?=20matches=20package.json=20engine=20requirement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add root nixpacks.toml: npm ci --legacy-peer-deps (ignore scripts), then prisma generate, then build:production - NPM_CONFIG_IGNORE_SCRIPTS prevents postinstall during npm ci Made-with: Cursor --- .node-version | 2 +- nixpacks.toml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 nixpacks.toml diff --git a/.node-version b/.node-version index 209e3ef4b..2bd5a0a98 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20 +22 diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 000000000..1d7b07b08 --- /dev/null +++ b/nixpacks.toml @@ -0,0 +1,7 @@ +providers = ["node"] + +[phases.install] +cmds = ["NPM_CONFIG_IGNORE_SCRIPTS=true npm ci --legacy-peer-deps"] + +[phases.build] +cmds = ["npx prisma generate && npm run build:production"]