"error -Command failed with exit code 134" while running yarn build:prod

143 views
Skip to first unread message

Sakshi Devi

unread,
Feb 25, 2025, 7:31:24 AM2/25/25
to DSpace Technical Support
Greetings to all, 
i am installing DSpace 8.1 on Ubuntu 24.04.2 LTS. While executing  "Yarn build:prod" i experienced an error- command failed with exit code 134.

Kindly suggest a solution. 

Sincerely 
Sakshi Devi
Research Scholar
Department of Library and Information Science
Central University of Himachal Pradesh
India

DSpace Technical Support

unread,
Feb 27, 2025, 3:33:04 PM2/27/25
to DSpace Technical Support
Hi Sakshi,

We don't have enough information to provide help.  You'd have to give more information about your setup, and share the exact error stacktrace that shows an "exit code 134".  My best guess is that Node might be running out of memory, but I'm not sure if that's the problem.  Nonetheless, here's a guide for how to give Node more memory: https://wiki.lyrasis.org/display/DSDOC8x/Performance+Tuning+DSpace#PerformanceTuningDSpace-GiveNode.jsmorememory

If that doesn't help, please share more information including the version of Node and Yarn you are using.

Tim

Sakshi Devi

unread,
Feb 28, 2025, 7:30:59 AM2/28/25
to DSpace Technical Support
Thanks Tom
It resolved the issue. 

The problem was resolved by increasing the size of node.js memory to 4GB, i.e., by running
"export NODE_OPTIONS=--max-old-space-size=4096"


Regards
Sakshi Devi


ETDs Metadata Practices of Indian Institutes of Technology: A Comparative Study by Sakshi Devi and Dimple Patel



--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to a topic in the Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/x9DZ9gQiSp8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-tech...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/8569c069-3f96-4788-b61d-ed587c0316e2n%40googlegroups.com.

Sakshi Devi

unread,
Feb 28, 2025, 7:31:25 AM2/28/25
to DSpace Technical Support
Thank you so much Tim* 
Sakshi Devi



ETDs Metadata Practices of Indian Institutes of Technology: A Comparative Study by Sakshi Devi and Dimple Patel


Reply all
Reply to author
Forward
0 new messages