Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3755

Troubleshooting • Installing with NPM runs out of memory?

$
0
0
Apologies if this belongs in another forum! I will be happy to move it if so!

I bought a brand-new Raspberry Pi Zero 2 W, and I began tinkering with it for the first time this weekend!

I installed Ubuntu Server on it using RPi's Imager software. (Specifically onto a 64GB micro SD card.) I then booted it up and installed Node.js, NPM, Node Version Manager, and Redis onto it. Simple!

My goal was to download and run this project: https://github.com/discord-relay-chat/drc

I was able to git clone the repository just fine. However, whenever I enter into the directory and run the `npm install` command, the system gets a little bit of the way into processing, then freezes up for a while, spits out a few messages that it's getting blocked such as:

Code:

INFO: task kworker/0:3:1815 blocked for more than 120 seconds.      Tainted: G          C E      6.5.0-1015-raspi #18-Ubuntu"echo 0 > /proc/sys/kernal/hung_task_timeout_secs" disables this message.
and eventually just kills the process because the board runs out of memory.

Does anyone have any advice onto how I can install the GitHub project linked above without the board running out of memory? Sorry, I'm a pretty big noob when it comes to this, so you'll have to explain like I'm a child and I appreciate the patience :D

Thank you!!

https://imgur.com/a/2oY7ALn

Statistics: Posted by 2Flow2 — Tue Apr 23, 2024 2:28 am



Viewing all articles
Browse latest Browse all 3755

Trending Articles