2018-01-26 08:29:15 +03:00
|
|
|
# Support for Electron Forge
|
|
|
|
|
2019-06-10 17:58:58 +03:00
|
|
|
If you have questions about usage, we encourage you to browse the [website](https://www.electronforge.io/),
|
2021-03-10 05:28:01 +03:00
|
|
|
and visit one of the several [community-driven sites](https://github.com/electron/electron#community),
|
2022-01-18 02:09:07 +03:00
|
|
|
including the [official Electron Discord server](https://discord.gg/invite/APGC3k5yaH), where there is a
|
2021-03-10 05:28:01 +03:00
|
|
|
dedicated channel for Electron Forge.
|
2018-01-26 08:29:15 +03:00
|
|
|
|
|
|
|
## Troubleshooting
|
|
|
|
|
|
|
|
One way to troubleshoot potential problems is to set the `DEBUG` environment variable before
|
|
|
|
running `electron-forge`. This will print debug information from the specified modules. The
|
|
|
|
value of the environment variable is a comma-separated list of modules which support this logging
|
|
|
|
feature. Known modules include:
|
|
|
|
|
2021-09-12 20:44:30 +03:00
|
|
|
- `@electron/get:*`
|
2022-10-24 20:34:43 +03:00
|
|
|
- `@electron/osx-sign`
|
2023-11-16 01:52:47 +03:00
|
|
|
- `@electron/packager`
|
2021-09-12 20:44:30 +03:00
|
|
|
- `electron-forge:*` (always use this one before filing an issue)
|
|
|
|
- `electron-installer-debian`
|
|
|
|
- `electron-installer-dmg`
|
|
|
|
- `electron-installer-flatpak`
|
|
|
|
- `electron-installer-redhat`
|
|
|
|
- `electron-installer-snap:*`
|
|
|
|
- `electron-rebuild`
|
|
|
|
- `electron-windows-installer:main`
|
|
|
|
- `electron-windows-store`
|
|
|
|
- `extract-zip`
|
|
|
|
- `get-package-info`
|
2018-01-26 08:29:15 +03:00
|
|
|
|
|
|
|
We use the [`debug`](https://www.npmjs.com/package/debug#usage) module for this functionality. It
|
|
|
|
has examples on how to set environment variables if you don't know how.
|
|
|
|
|
|
|
|
**If you are using `npm run` to execute `electron-forge`, run the `electron-forge` command
|
|
|
|
without using `npm run` and make a note of the output, because `npm run` does not print out error
|
|
|
|
messages when a script errors.**
|