Jump to content

NPM Not enough memory

Featured Replies

Posted

I am working to move my VM's and containers from Proxmox over to Unraid, mainly to make better use of docker.

 

And I am trying to get a cards against humanity docker clone from here installed but get an out of memory error when the script runs?   I did have this working as a VM in ubuntu server in proxmox, so pretty sure its not a memory issue.  I do have 32GB of memory in the machine also.

 

https://github.com/olback/cah

 

and the error i get is:


root@UnRaid:/mnt/appdata/cah# ./scripts/angular.sh
✔ Node version OK
./scripts/angular.sh: line 13: npm: command not found
./scripts/angular.sh: line 14: [: -lt: unary operator expected
✔ NPM version OK
✘ Not enough memory available!

I don't know for certain but I'm going to guess that possibly the issue is that the script can't execute:

MEMFREE=$(cat /proc/meminfo | grep MemFree | awk '{print $2}')

 

So when it does the memory check it fails.

 

I'll clone this and test it later tonight.

Archived

This topic is now archived and is closed to further replies.