Skip to content

yarn build fails with exit code 137 #513

Answered by jbtronics
ciberbob1987 asked this question in Q&A
Discussion options

You must be logged in to vote

I think that is an out of memory error. The JavaScript optimization steps temporarily require some larger amount of memory and I would guess that's more than your server fan provide. adding some swap memory should most likely help in the build process.

If that is not possible, then you can use the pre built artifacts GitHub actions build for every version:

https://github.com/Part-DB/Part-DB-server/actions/runs/7806583671

Basically you just need to copy the files from the public folder from the ZIP to your server.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ciberbob1987
Comment options

@jbtronics
Comment options

@ciberbob1987
Comment options

Answer selected by ciberbob1987
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants