Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

docs: add electron build troubleshooting (#8102)

Yifeng Wangb711b087c586
diff --git a/packages/frontend/electron/README.md b/packages/frontend/electron/README.md
index 805ce7f111..a421c98aa8 100644
--- a/packages/frontend/electron/README.md
+++ b/packages/frontend/electron/README.md
@@ -17,6 +17,12 @@ yarn dev # or yarn prod for production build
## Troubleshooting
+If you have trouble building electron during `yarn install`, try setting mirror environment variable:
+
+```sh
+export ELECTRON_MIRROR="https://registry.npmmirror.com/-/binary/electron/"
+```
+
## Credits
Most of the boilerplate code is generously borrowed from the following