You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. (/var/carrot-pool/app.js:19:14)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
code: 'ERR_BUFFER_OUT_OF_BOUNDS'
}
[nodemon] app crashed - waiting for file changes before starting...
The text was updated successfully, but these errors were encountered:
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. (/var/carrot-pool/app.js:19:14)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
code: 'ERR_BUFFER_OUT_OF_BOUNDS'
}
[nodemon] app crashed - waiting for file changes before starting...
The text was updated successfully, but these errors were encountered: