Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Array buffer allocation failed #7

Open
hupptechnologies opened this issue Oct 16, 2018 · 0 comments
Open

Error: Array buffer allocation failed #7

hupptechnologies opened this issue Oct 16, 2018 · 0 comments

Comments

@hupptechnologies
Copy link

Hi,

I used this module to merge images into single image and already live production server but when checked logs i am getting below error.

(node:320) UnhandledPromiseRejectionWarning: RangeError: Array buffer allocation failed
    at new ArrayBuffer (<anonymous>)
    at typedArrayConstructByLength (<anonymous>)
    at new Uint8Array (native)
    at new FastBuffer (buffer.js:38:5)
    at Function.Buffer.alloc (buffer.js:245:10)
    at new Buffer (buffer.js:156:19)
    at new Jimp (/home/ubuntu/body-align-node/node_modules/jimp/index.js:129:19)
    at /home/ubuntu/body-align-node/node_modules/merge-img/lib/index.js:130:21
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7)
(node:320) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:320) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Can you please help me out with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants