Open halshar opened 10 months ago
@halshar
While we await the fix for the rpm build, just letting you know that we recently released support for installing Bruno via flatpak #623
Thank you, I was not aware of the flatpak support; I had assumed that only snaps support was available.
Will this issue be closed, or will it be used to update progress on the RPM build and eventually be closed once the issue is fixed?
Lets keep this open until we have rpm builds available.
Right now the build system is a bit confusing, I got the same error some time ago.
To build the RPM package first you need to build the NextJS app in packages/bruno-app
, you can use the build:web
NPM script in the root package.json
for that.
I usually use this shell script:
git clone https://github.com/usebruno/bruno.git usebruno-monorepo
cd usebruno-monorepo
# checkouts the latest stable version (at the time of writing).
# you can skip this following command to build directly from the `main` branch
git checkout v1.7.0
# ensure you are using the required Node version defined in the `.nvmrc` file
# at the time of writing it is Node v18.13.0
node --version
# installs dependencies from the lockfile, you can use `npm install` too
npm ci
# these three following commands are documented in the `contributing.md` file
npm run build:graphql-docs
npm run build:bruno-query
npm run build:bruno-common
# builds the NextJS app
# the ENV environment variable:
# prod - telemetry enabled, redux debug middleware disabled
# dev - telemetry disabled, redux debug middleware enabled
ENV=prod npm run build:web
# builds the RPM package
npm run build:electron:rpm
# installs the RPM package, you may need to use `sudo` here
dnf install packages/bruno-electron/out/*.rpm
unfortunately its not working
Greetings,
Followed the below instructions by user manoj to build the rpm package
Originally posted by @manojbaishya in https://github.com/usebruno/bruno/issues/541#issuecomment-1762750241
but the build is failing with following errors
from the script
scripts/build-electron.sh
lines 12-16 are failing as the directoriespackages/bruno-app/out/
andpackages/bruno-electron/web
are not presentthe same error occurs while building for latest commit as well as source code for v1.6.1
Am I missing some intermediate build steps where the files inside
packages/bruno-app/out/
will be created?