Skip to content

armgit / ente

Public Imported from GitHub
0

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

Mention need to yarn install

Manav Rathi8def9d548c49
diff --git a/docs/dev.md b/docs/dev.md
index 40efc0b592..f56a53178f 100644
--- a/docs/dev.md
+++ b/docs/dev.md
@@ -13,6 +13,11 @@ yarn workspace photos next dev
There is also a convenience alias, `yarn dev:photos`. See `package.json` for the
full list of such aliases.
+Note that yarn does not automatically update `node_modules` if you switch to a
+branch that has added or modified dependencies. So if you encounter unexpected
+errors or switching branches, make sure that your node_modules is up to date by
+running `yarn install` first (tip: `yarn` is a shortcut for `yarn install`).
+
To add a local package as a dependency, use `<package-name>@*`. The "*" here
denotes any version.