"Process from memory" when running Node.js or NPM on Mac OSX 10.5

I am completely unaware for both Mac and Node.js, so sorry if this bit is a bit basic.

I am running Mac OS X 10.5 (Leopard) and have just installed the latest version of Node.js (released version not built from source).

When I try to start Node or install NPM, I get the following error message:

FATAL ERROR: CodeRange::GetNextAllocationBlock Allocation failed - process out of memory

Does anyone know what the problem is? If not, what will be the next steps to understand this?

Edit: It turns out that if I run these commands several times, they will eventually work. So my job is to keep repeating the team until I get success. This is better than nothing, but still unacceptable. Software such as WebStorm that needs to run these tools does not know about this workaround and does not work all the time.

+5
source share
2 answers

It seems that the problem occurs when running the distributed Node build on any pre-OSX 10.6.

You can manually create the binary file yourself if you are unable to update the OS.

http://therobotsbrain.blogspot.com.au/2012/03/installing-nodejs-on-os-x-105.html

+3
source

X.5.8, node 0.10.13 . node, 0.10.3 , 0.10.4 . x86, x64, , 0,3, 0,0. , , . , , /usr/local/bin, . . , , .

.

: http://nodejs.org/dist/

0

All Articles