From 3bb8ea0ce59c967efb961001c0869f41e4c7bba7 Mon Sep 17 00:00:00 2001 From: Rajeev R Sharma Date: Tue, 5 Sep 2023 15:40:13 +0530 Subject: [PATCH 1/4] Update render.md for node version render.com uses node v14 by default and latest nuxt dependencies has a conflict with that. So the proposed change mentions how we can resolve the issue. --- docs/content/2.deploy/providers/render.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/2.deploy/providers/render.md b/docs/content/2.deploy/providers/render.md index 53a51cbb18..516918a1ef 100644 --- a/docs/content/2.deploy/providers/render.md +++ b/docs/content/2.deploy/providers/render.md @@ -16,9 +16,10 @@ Nitro supports deploying on [Render](https://render.com/) with minimal configura 1. Update the start command to `node .output/server/index.mjs` -1. Click 'Advanced' and add an environment variable with `NITRO_PRESET` set to `render_com`. +1. Click 'Advanced' and add an environment variable with `NITRO_PRESET` set to `render_com`. You may need to add a NODE_VERSION environment variable set to 16/18 for the build to succeed (By default render.con uses node v14). 1. Click 'Create Web Service'. + ## Infrastructure as Code (IaC) From 4b6991fe9263ab69a2f8c292be5e6d3b0ef1624f Mon Sep 17 00:00:00 2001 From: Rajeev R Sharma Date: Tue, 5 Sep 2023 16:28:22 +0530 Subject: [PATCH 2/4] Update render.md Fixed type, and used markdown. --- docs/content/2.deploy/providers/render.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/2.deploy/providers/render.md b/docs/content/2.deploy/providers/render.md index 516918a1ef..adc95c04a9 100644 --- a/docs/content/2.deploy/providers/render.md +++ b/docs/content/2.deploy/providers/render.md @@ -16,7 +16,7 @@ Nitro supports deploying on [Render](https://render.com/) with minimal configura 1. Update the start command to `node .output/server/index.mjs` -1. Click 'Advanced' and add an environment variable with `NITRO_PRESET` set to `render_com`. You may need to add a NODE_VERSION environment variable set to 16/18 for the build to succeed (By default render.con uses node v14). +1. Click 'Advanced' and add an environment variable with `NITRO_PRESET` set to `render_com`. You may also need to add a `NODE_VERSION` environment variable set to `16/18` for the build to succeed (By default `render.com` uses `node v14.17.0`). 1. Click 'Create Web Service'. From 53511b78a2a7d1d8dce4a2048a3b1536760a10dd Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 5 Sep 2023 14:24:01 +0200 Subject: [PATCH 3/4] Update docs/content/2.deploy/providers/render.md --- docs/content/2.deploy/providers/render.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/2.deploy/providers/render.md b/docs/content/2.deploy/providers/render.md index adc95c04a9..4280def67c 100644 --- a/docs/content/2.deploy/providers/render.md +++ b/docs/content/2.deploy/providers/render.md @@ -16,7 +16,7 @@ Nitro supports deploying on [Render](https://render.com/) with minimal configura 1. Update the start command to `node .output/server/index.mjs` -1. Click 'Advanced' and add an environment variable with `NITRO_PRESET` set to `render_com`. You may also need to add a `NODE_VERSION` environment variable set to `16/18` for the build to succeed (By default `render.com` uses `node v14.17.0`). +1. Click 'Advanced' and add an environment variable with `NITRO_PRESET` set to `render_com`. You may also need to add a `NODE_VERSION` environment variable set to `18` for the build to succeed ([docs](https://render.com/docs/node-version)). 1. Click 'Create Web Service'. From 2b3c74b77b42576051484bae7fd6300efcf22bb8 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 5 Sep 2023 14:24:23 +0200 Subject: [PATCH 4/4] Update docs/content/2.deploy/providers/render.md --- docs/content/2.deploy/providers/render.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/content/2.deploy/providers/render.md b/docs/content/2.deploy/providers/render.md index 4280def67c..1f7cfcc13f 100644 --- a/docs/content/2.deploy/providers/render.md +++ b/docs/content/2.deploy/providers/render.md @@ -19,7 +19,6 @@ Nitro supports deploying on [Render](https://render.com/) with minimal configura 1. Click 'Advanced' and add an environment variable with `NITRO_PRESET` set to `render_com`. You may also need to add a `NODE_VERSION` environment variable set to `18` for the build to succeed ([docs](https://render.com/docs/node-version)). 1. Click 'Create Web Service'. - ## Infrastructure as Code (IaC)