xviz
xviz copied to clipboard
Error 'max is not a function' with nutonomy data converter
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?
this just needs updated to match the sharp library functions that have been deprecated. I"ll try to get this done soon.