carrot-pool
carrot-pool copied to clipboard
Buffer
The code start with throw new ERR_BUFFER_OUT_OF_BOUND
I solve with npm install -g increase-memory-limit Run from the root location of your project:
increase-memory-limit
will append --max-old-space-size=4096 in all node calls inside your node_modules/.bin/* files. And now no give errors but not open any port and if I install normally. I got
starting node app.js
internal/buffer.js:81
throw new ERR_BUFFER_OUT_OF_BOUNDS();
^
RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
at boundsError (internal/buffer.js:81:11)
at Buffer.readUInt32LE (internal/buffer.js:217:5)
at initNetwork (/var/carrot-pool/src/utils/finalize_pool_config.js:26:59)
at /var/carrot-pool/src/utils/finalize_pool_config.js:32:32
at Object.