Hello,
I have already setup fully working Jitsi with JWT, but using standard jitsi repository.
I want to move to git version, and idea was to clone project direct in “/usr/share/jitsi-meet” to avoid any additional steps. Unfortunately, after triggering make I’m getting error “make: *** [Makefile:30:compile] Error 137” and I stuck there. Hope you have some hints. (node -v 16.18.1 and npm -v 9.1.2)
Yes, I followed this post and
[How to] How to build Jitsi Meet from source: A developer's guide - #8 by corby.
I managed to build successfully lib-jitsi-meet, but on make I’m getting the same error:
orge@:~/jitsi-meet$ make*
*NODE_OPTIONS=–max-old-space-size=8192 *
./node_modules/.bin/webpack
Killed
make: *** [Makefile:30: compile] Error 137
On npm install, I had two errors:
ERROR Failed to apply patch for package @giphy/js-analytics at path
ERROR Failed to apply patch for package @giphy/js-brand at path
Did you run npm update
by any chance?
Yes, unfortunately it was described in post to do npm install && npm update. And I just saw that in documentation npm update should be skipped. So I moved to srv folder and just clone jitsi-meet, npm install withot errors and after triggering make I faced with the same error 137
@saghul Have things changed enough requiring my guide to be updated? I try to run it from scratch every few months to be sure its still valuable to the community.
Do you have 8GB of RAM for the make to finish?
Yep, npm update should be skipped and you need at least 7-8 GB of RAM for the process.
Okay… I removed npm update
for jitsi-meet
but left it for jitsi-meet-lib
. Also added the memory note for make
.
Actually I thought 4GB, is enough so this part is not fulfilled. I will add mote RAM and let you know if this solve error 137. Thank you for quick replies
npm update
has never been a good idea to do, not on this project not on any project really, unless you are the project developer and are working on updating dependencies, that is.
After increasing RAM, build processed successfully. Thank you
My Issue is same I am also receiving same error while running “make” command. I am using 8 GB of RAM and (node -v 16.18.0 and npm -v 8.19.2).
NODE_OPTIONS=–max-old-space-size=8192
./node_modules/.bin/webpack
[BABEL] Note: The code generator has deoptimised the styling of /srv/meet.aug/jitsi-meet/node_modules/lodash/lodash.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /srv/meet.aug/jitsi-meet/node_modules/@vladmandic/human/dist/human.esm.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /srv/meet.aug/jitsi-meet/node_modules/lodash/lodash.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /srv/meet.aug/jitsi-meet/node_modules/lodash/lodash.js as it exceeds the max of 500KB.
Killed
Makefile:30: recipe for target ‘compile’ failed
make: *** [compile] Error 137
Yes, I have also upgraded my system to 16GB RAM
Yes, only lack of RAM was causing my error
Ok thanks, I will upgrade.