jimp-dev / jimp-dev/gifwrap

(node:1893) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getMaxDimensions' of undefined

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
77
Forks
18
PR merge metrics
No merged PRs in 30d

Description

`(node:1893) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getMaxDimensions' of undefined
at GifCodec.encodeGif (/Users/chenshuaihua/gifwrap-guide/node_modules/gifwrap/src/gifcodec.js:99:34)
at Object.exports.write (/Users/chenshuaihua/gifwrap-guide/node_modules/gifwrap/src/gifutil.js:232:20)
at Object. (/Users/chenshuaihua/gifwrap-guide/index.js:10:9)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:279:19)
(node:1893) 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: 2)
(node:1893) [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.`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.