mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 06:47:02 +08:00
docs: add electron build troubleshooting (#8102)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user