docs: add electron build troubleshooting (#8102)
This commit is contained in:
@@ -17,6 +17,12 @@ yarn dev # or yarn prod for production build
|
|||||||
|
|
||||||
## Troubleshooting
|
## 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
|
## Credits
|
||||||
|
|
||||||
Most of the boilerplate code is generously borrowed from the following
|
Most of the boilerplate code is generously borrowed from the following
|
||||||
|
|||||||
Reference in New Issue
Block a user