From 5cfa5d2fb190d8caed20d921cd60ed0d6ee9f9a7 Mon Sep 17 00:00:00 2001 From: gitcommitshow <56937085+gitcommitshow@users.noreply.github.com> Date: Fri, 23 Sep 2022 12:23:23 +0530 Subject: [PATCH 1/3] fix: specify the supported node engine version Currently there are issues in npm install in node v16 as it is not supported by node-sass v4. So specifying the supported node engine version to be less than node v16. --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 67872d8..cfb6754 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,9 @@ "eject": "react-scripts eject", "analyze": "source-map-explorer 'build/static/js/*.js'" }, + "engines": { + "node": "<16" + }, "eslintConfig": { "extends": "react-app" }, From 5c033ec133d0dece359edbaecec8808e59647c67 Mon Sep 17 00:00:00 2001 From: gitcommitshow <56937085+gitcommitshow@users.noreply.github.com> Date: Fri, 23 Sep 2022 12:25:46 +0530 Subject: [PATCH 2/3] fix: add strict check for node version As node v16+ fails to npm install, putting a strict node version check to make it easier for users to understand that they need node versions below v16. --- .npmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..b6f27f1 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true From 0f1d30f384d94e044909ce71c38da8bfc5d97791 Mon Sep 17 00:00:00 2001 From: gitcommitshow <56937085+gitcommitshow@users.noreply.github.com> Date: Fri, 23 Sep 2022 12:29:24 +0530 Subject: [PATCH 3/3] docs: added node requirement in README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5784c9c..a7dfdb0 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ RudderStack's Control Plane Lite utility provides the UI to self-host and manage ## Setup +Requirement: Use `Node.js v14` for the best experience. (`Node v16` and higher versions are not supported) + To set up the RudderStack Control Plane Lite, run the following commands: 1. `npm install`