Hi all,
Apologies for the delay. With the release of bruno-electron 1.28.0-1
, I've removed the dependency on nvm
.
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.048942 |
First Submitted: | 2023-10-11 17:37 (UTC) |
Last Updated: | 2024-09-16 04:29 (UTC) |
Hi all,
Apologies for the delay. With the release of bruno-electron 1.28.0-1
, I've removed the dependency on nvm
.
Hi all,
With the release of bruno-electron 1.19.0-1
I've (perhaps controversially) reintroduced nvm
to the build pipeline. Using nvm
allows for consistent builds due to the strange relationship of Bruno's codemirror
dependency and a system installed nodejs>=22.0.0
. I'm not exactly the happiest about this choice, as the removal of nvm
was the inspiration of the fork between bruno-electron
and vianney's bruno
. However I value consistent builds for users of bruno-electron
and for myself.
Every upcoming release will be tested without nvm
so it may be removed as soon as physically possible. Easier builds will allow me to release bruno-electron
versions closer with Bruno releases, as now it's just a version change.
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"
)
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
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
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...
Build for 1.7.1 still fails with the same error: https://hastebin.com/share/goyecaseze.txt
Build fails with a ReferenceError: document is not defined
error: https://hastebin.com/share/elelepedog.txt
Thank you! I've fixed the conflicts and added provides.
Hello, about provides and conflicts this need provides=(bruno)
conflicts=(bruno)
only
Pinned Comments
dejay commented on 2024-09-16 04:28 (UTC)
Hi all,
Apologies for the delay. With the release of bruno-electron
1.28.0-1
, I've removed the dependency onnvm
.