From 5e54b0af36351e780955577e16f4374a840637ff Mon Sep 17 00:00:00 2001 From: mngshm Date: Tue, 21 Jan 2025 16:05:19 +0530 Subject: [PATCH] fix[web-app docs]: fix syntax issue & add note related to yarn version --- docs/docs/self-hosting/guides/web-app.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/docs/self-hosting/guides/web-app.md b/docs/docs/self-hosting/guides/web-app.md index a483977537..baa8006380 100644 --- a/docs/docs/self-hosting/guides/web-app.md +++ b/docs/docs/self-hosting/guides/web-app.md @@ -10,6 +10,12 @@ description: The getting started instructions mention using `yarn dev` (which is an alias of `yarn dev:photos`) to serve your web app. +>[!IMPORTANT] +> Please note that Ente's Web App supports the Yarn version 1.22.xx or 1.22.22 specifically. +> Make sure to install the right version or modify your yarn installation to meet the requirements. +> The user might end up into unknown version and dependency related errors if yarn +> is on different version. + ```sh cd ente/web git submodule update --init --recursive @@ -159,7 +165,7 @@ Copy the below contents to a file called `ecosystem.config.js` inside the `ente/ directory. ```js -module.exports = { +module.exports = { apps: [ { name: "photos", @@ -175,7 +181,8 @@ directory. env: { NODE_ENV: "development", PORT: "3001" - }, + } + }, { name: "auth", script: "yarn workspace auth next dev",