Package Details: bruno-electron 1.18.1-1

Git Clone URL: https://aur.archlinux.org/bruno-electron.git (read-only, click to copy)
Package Base: bruno-electron
Description: Bruno, an opensource API Client for Exploring and Testing APIs using the system provided Electron
Upstream URL: https://www.usebruno.com/
Keywords: api bruno electron graphql rest
Licenses: MIT
Conflicts: bruno
Provides: bruno
Submitter: dejay
Maintainer: dejay
Last Packager: dejay
Votes: 4
Popularity: 0.84
First Submitted: 2023-10-11 17:37 (UTC)
Last Updated: 2024-05-31 16:38 (UTC)

Pinned Comments

dejay commented on 2024-04-05 22:28 (UTC)

Hi all, sorry for the delay. I've pushed the package to v1.12.3.

Aside from the update, this adds npm as a makedepends (thank you!).

I, like many other users have this issue regarding a "ReferenceError: document is not defined" this is caused by an upstream dependency on codemirror, and as far as I'm concerned, there's not much I can do to fix it. I've spent a little bit of time debugging and I'm not sure what I did but it did end up working (it may've been the fact that I ran the build:web command directly?)

Part of what causes a delay is I don't push to the AUR unless it builds on my own machine. I'd deeply appreciate any help I and the greater bruno-electron community could get here. Thank you in advance <3

Latest Comments

lapo commented on 2024-06-06 21:45 (UTC)

I found the problem: codemirror works with nodejs 18 or 20, but nowadays the default nodejs is 22.

I installed nodejs-lts-iron and it built successfully:

depends=(
    "${_electron}>=21.0.0"
    "nodejs-lts-iron"
)

lapo commented on 2024-06-05 09:50 (UTC) (edited on 2024-06-05 12:21 (UTC) by lapo)

I get the following when running with pamac:

npm error code 1
npm error path /var/cache/private/pamac/bruno-electron/src/bruno-1.18.1/node_modules/electron
npm error command failed
npm error command sh -c node install.js
npm error Error: EROFS: read-only file system, mkdir '/.cache'

Edited to add: when built with makepkg the error is the same other reported:

info  - Collecting page data .ReferenceError: document is not defined

dejay commented on 2024-04-05 22:28 (UTC)

Hi all, sorry for the delay. I've pushed the package to v1.12.3.

Aside from the update, this adds npm as a makedepends (thank you!).

I, like many other users have this issue regarding a "ReferenceError: document is not defined" this is caused by an upstream dependency on codemirror, and as far as I'm concerned, there's not much I can do to fix it. I've spent a little bit of time debugging and I'm not sure what I did but it did end up working (it may've been the fact that I ran the build:web command directly?)

Part of what causes a delay is I don't push to the AUR unless it builds on my own machine. I'd deeply appreciate any help I and the greater bruno-electron community could get here. Thank you in advance <3

Kage-Yami commented on 2024-03-21 04:13 (UTC)

Package appears to be missing a make-depends (not sure if it's required as an overall dependency) on npm - I can see that there are npm commands in the PKGBUILD, but there is nothing in the dependency tree that requires it (nor is it a part of base-devel); as such, this package fails to build in a clean chroot (such as with aurto):

==> Retrieving sources...
  -> Found bruno-1.12.1.tar.gz
  -> Found com.usebruno.app.Bruno.desktop
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting bruno-1.12.1.tar.gz with bsdtar
==> Starting prepare()...
/startdir/PKGBUILD: line 39: npm: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...

captn3m0 commented on 2024-02-01 07:42 (UTC)

Build for 1.7.1 still fails with the same error: https://hastebin.com/share/goyecaseze.txt

captn3m0 commented on 2024-01-21 08:10 (UTC)

Build fails with a ReferenceError: document is not defined error: https://hastebin.com/share/elelepedog.txt

dejay commented on 2023-10-11 17:55 (UTC)

Thank you! I've fixed the conflicts and added provides.

FabioLolix commented on 2023-10-11 17:41 (UTC)

Hello, about provides and conflicts this need provides=(bruno) conflicts=(bruno) only