UNPKG

1.39 kBMarkdownView Raw
1# Support for Electron Forge
2
3If you have questions about usage, we encourage you to browse the [website](https://electronforge.io/),
4and visit one of the several [community-driven sites](https://github.com/electron/electron#community).
5
6## Troubleshooting
7
8One way to troubleshoot potential problems is to set the `DEBUG` environment variable before
9running `electron-forge`. This will print debug information from the specified modules. The
10value of the environment variable is a comma-separated list of modules which support this logging
11feature. Known modules include:
12
13* `electron-compile:*`
14* `electron-download`
15* `electron-forge:*` (always use this one before filing an issue)
16* `electron-installer-debian`
17* `electron-installer-dmg`
18* `electron-installer-flatpak`
19* `electron-installer-redhat`
20* `electron-installer-snap:*`
21* `electron-osx-sign`
22* `electron-packager`
23* `electron-rebuild`
24* `electron-windows-installer:main`
25* `electron-windows-store`
26* `extract-zip`
27* `get-package-info`
28
29We use the [`debug`](https://www.npmjs.com/package/debug#usage) module for this functionality. It
30has examples on how to set environment variables if you don't know how.
31
32**If you are using `npm run` to execute `electron-forge`, run the `electron-forge` command
33without using `npm run` and make a note of the output, because `npm run` does not print out error
34messages when a script errors.**