Jump to content
Sign in to follow this  

NPM Not enough memory

2 posts in this topic Last Reply

Recommended Posts

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.




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!

Share this post

Link to post

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.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this