Closed chk-jxcn closed 5 months ago
You can try building the ui with more memory. e.g.
yarn react-scripts --max_old_space_size=4096 build
or
yarn react-scripts --max_old_space_size=4096 --openssl-legacy-provider build
depending on your node version.
Use docker if you cannot run the binary because of glibc incompatibilities.
Thank you @jmattheis , I have build it on other machine, but it's not very convenient, just a suggestion to make life easier.
I'll update the build system in the future to something more modern, this likely fixes the problem.
Is your feature request related to a problem? Please describe. Diffcult to build server on a old machine
Describe the solution you'd like A source package with yarn already build
Describe alternatives you've considered A static build without sqlite?
Additional context
memory ran out when build UI.
It's a old machine and GLIBC is too old, directly run binary file fail with
./gotify-linux-amd64: /lib64/libc.so.6: version 'GLIBC_2.28' not found (required by ./gotify-linux-amd64)
, but memory not enough when I try to build ui (1GB ram), so sad..