xviz icon indicating copy to clipboard operation
xviz copied to clipboard

Error 'max is not a function' with nutonomy data converter

Open Avkash opened this issue 5 years ago • 1 comments

I got the following error while converting nutonomy datasets:

(node:11957) UnhandledPromiseRejectionWarning: TypeError: (0 , _sharp.default)(...).resize(...).max is not a function at max (/Users/avkashchauhan/master/2019/self-driving/xviz/examples/converters/nutonomy/src/converters/process-image.js:57:8)

I did bypass the issue by commenting on the .max() function. Any suggestion to fix this issue?

Avkash avatar Sep 21 '19 23:09 Avkash

this just needs updated to match the sharp library functions that have been deprecated. I"ll try to get this done soon.

twojtasz avatar Dec 10 '19 13:12 twojtasz