npm install fails on AIX
I want to be able to use citgm to test node-red on aix but I get the following error when installing the dev-dependencies:
<--- Last few GCs --->
251320 ms: Scavenge 131.0 (199.0) -> 117.2 (199.0) MB, 41.0 / 0.0 ms (+ 256.0 ms in 232 steps since last GC) [allocation failure].
253313 ms: Scavenge 132.5 (199.0) -> 119.7 (199.0) MB, 111.4 / 0.0 ms (+ 235.0 ms in 230 steps since last GC) [allocation failure].
256099 ms: Mark-sweep 128.5 (200.0) -> 107.9 (195.0) MB, 258.8 / 0.0 ms (+ 1681.5 ms in 829 steps since start of marking, biggest step 39.8 ms) [GC interrupt] [GC in old space requested].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x7000000206cf971 <JS Object>
5: Uint8ArrayConstructByLength(aka Uint8ArrayConstructByLength) [native typedarray.js:~184] [pc=700000000cfb060] (this=0x700000020604381 <undefined>,ag=0x7000000239e7b41 <an Uint8Array with map 700000020a06829>,aj=65536)
6: new constructor(aka Uint8Array) [native typedarray.js:~241] [pc=700000000d58adc] (this=0x7000000239e7b41 <an Uint8Array with map 700000020a06829>,aa=65536,ab=0x70...
FATAL ERROR: Zone Allocation failed - process out of memory
IOT/Abort trap (core dumped)
I am testing this on node 6.9.1, AIX7, and run:
npm install node-red and then cd node_modules/node-red and finally npm install
Read more here: Source link
