[英]electron-forge make won't build
An unhandled rejection has occurred inside Forge: 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
.如果您运行的是 Debian 派生的 Linux 发行版(例如 Ubuntu),您可以运行sudo apt install rpm
来安装rpm
。 Otherwise you must use your distribution's respective package manager to install rpm
.否则,您必须使用您的发行版各自的包管理器来安装rpm
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.