Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Document NODE_VERSION

Manav Rathi9d55b9936dc7
diff --git a/web/docs/README.md b/web/docs/README.md
index a42498fba0..e826bdfcc5 100644
--- a/web/docs/README.md
+++ b/web/docs/README.md
@@ -3,6 +3,6 @@
If you just want to run ente locally or develop on it, you can do
yarn
- yarn dev:photos
+ yarn dev
The docs in this directory are for more advanced or infrequently needed details.
diff --git a/web/docs/dependencies.md b/web/docs/dependencies.md
index aad328c9af..ddfc681362 100644
--- a/web/docs/dependencies.md
+++ b/web/docs/dependencies.md
@@ -14,6 +14,16 @@ They also need some support packages:
* "@typescript-eslint/parser" - Tells ESLint how to read TypeScript syntax
* "@typescript-eslint/eslint-plugin" - Provides TypeScript rules and presets
+## Node
+
+Node is used under the hood to build the web apps. We currently use **20.11.1**.
+
+* On production, this is ensured by setting the NODE_VERSION environment
+ variable in Cloudflare Pages settings.
+
+* On your machine, you can install the the latest from the v20 series. e.g., on
+ macOS, you can `brew install node@20`.
+
## Utils
### Crypto
diff --git a/web/docs/new.md b/web/docs/new.md
index fcdaad4aec..a393066fe3 100644
--- a/web/docs/new.md
+++ b/web/docs/new.md
@@ -9,7 +9,7 @@ development, here is a recommended workflow:
3. Enable the VS Code setting to format on save.
-4. Install node on your machine `brew install node`. Our package manager, `yarn`
- comes with it.
+4. Install node on your machine `brew install node@20`. Our package manager,
+ `yarn` comes with it.
That's it. Enjoy coding!