Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix[web-app docs]: fix syntax issue & add note related to yarn version

mngshm5e54b0af3635
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",