Skip to content

Instantly share code, notes, and snippets.

@nyatorch
Last active July 22, 2024 22:45
Show Gist options
  • Save nyatorch/e5a189df696236110bd6fa9b041c7617 to your computer and use it in GitHub Desktop.
Save nyatorch/e5a189df696236110bd6fa9b041c7617 to your computer and use it in GitHub Desktop.
Build Cloudreve on OpenBSD Notes

Notes

  • OpenBSD Limited Users Memory usage by default in login.conf
  • Which caused bad_alloc or Segment Fault when using yarn build
  • Modify login.conf, slove bad_alloc and Segment Fault.
  • meet TypeScript error in [internal](undefined,undefined)
  • However, I can build it on WSL
  • I built frontend static resources on WSL then copied it to OpenBSD
  • build golang backend
  • it works
  • This is not a build method that a qualified developer should use by any means, but it does work.

I'm going to try building again after Node.js 18 LTS goes into OpenBSD ports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment