yarn build fails with exit code 137 #513
-
I tried to install the latest part-db development version, but yarn build exit with error code 137. I'm running a VPS with the following characteristics: 1 virtual CPU, 1 GB RAM I followed all the steps from Part-DB installation guide. Here the output from yarn build
Any help is greatly appreciated. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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. |
Beta Was this translation helpful? Give feedback.
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.