An unhandled rejection has occurred inside Forge:
Error: Cannot make for rpm, the following external binaries need to be installed: rpmbuild
at MakerRpm.ensureExternalBinariesExist (/home/chris/repos/dvdplayer/node_modules/@electron-forge/maker-base/src/Maker.ts:147:13)
at _default (/usr/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/src/api/make.ts:135:11)
at /usr/lib/node_modules/@electron-forge/cli/src/electron-forge-make.ts:44:5
Electron Forge was terminated. Location:
{}
I keep getting this error message when I run the command. Not sure what to do.
我能够通过在终端中运行sudo apt install rpm
来解决这个问题。
If you're running a Debian-derived Linux distro (eg. Ubuntu) you can run sudo apt install rpm
to install rpm
. Otherwise you must use your distribution's respective package manager to install rpm
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.