Problem when compiling mobilizon from source

We wanted to compile Mobilizon from source on a 1 GB RAM, 1core Server, because we wanted to choose new categories and remove the standard ones.

command which was given to the server.
NODE_BUILD_MEMORY=1024
npm run build

error message:
<— JS stacktrace —>

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

1: 0x1050044 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
2: 0x1649350 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
3: 0x1649627 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
4: 0x1876e95 [node]
5: 0x1876ec3 [node]
6: 0x188ff9a [node]
7: 0x1893168 [node]
8: 0x20f97f1 [node]
Aborted

Long time ago we had some related issues. See if you find some hint there.

Else, if you can afford it, set NODE_BUILD_MEMORY to 2GB or more.

merci, thnx, je vais l’essayer, I will try it