-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building the Web UI fails for unclear reasons. #463
Comments
Hmm, I've gone ahead and updated dependencies in 8ba6ece Not sure if that'll make a difference. More broadly, I'm surprised that the AUR is building the webui from source. It'd probably be better for Backrest to be publishing an AUR that uses published binaries. I may need to coordinate with the AUR maintainer to adopt it / see if we can switch over to using goreleaser's aur support https://goreleaser.com/customization/aur/ . |
Most AUR packages build from source. The ones that don't have a |
Ah, thanks for the context. Okay -- I should be able to start publishing one in that case if someone is interested to help me test it. I don't have an arch linux test device. Also happy to try to help debug the current failure but I can't really tell from the error message posted, the webui builds successfully in CI so it may be worth looking at that environment. |
Found something - node dumps core apparently. Only found it in the journald logs. Something in lightningcss apparently.
|
It is related of node package version, downgrading to nodejs-22.6 the compilation end successful. |
Thanks for taking a look at this / actually tracking it down to a parcel-bundler issue. Pretty interesting! |
Describe the bug
npm run build
inwebui
returns exit status 1 for unclear reasons. The only error messages involve some outdated dependencies, which should not affect the build. I'm unsure if the build actually succeeded.This breaks the Arch Linux AUR package for backrest, but is not specific to the AUR package. The maintainer of the package recommended downgrading
node
, so it may be version specific.To Reproduce
On a fresh checkout of
backrest
, cd towebui
runnpm install
, then runnpm run build
and observe its exit code.Expected behavior
Backrest's UI builds successfully and reports a successful exit code.
Screenshots
Platform Info
Additional context
The text was updated successfully, but these errors were encountered: