I expect to be able to use the Jimp.read() function to load and manipulate images without encountering an error.
The Jimp.read() function is throwing a Jimp.read is not a function error, and I'm unable to proceed with loading images.
> <rejected> TypeError: Jimp.read is not a function
> at processImageWithCorrections (/Users/yomna/Coding/Mobile Apps/Work/wright/functions/services/services.js:86:30)
> at /Users/yomna/Coding/Mobile Apps/Work/wright/functions/index.js:41:28
> at async runFunction (/Users/yomna/.nvm/versions/node/v18.20.4/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:506:9)
> at async runHTTPS (/Users/yomna/.nvm/versions/node/v18.20.4/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:531:5)
> at async /Users/yomna/.nvm/versions/node/v18.20.4/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:694:21
I expect to be able to use the
Jimp.read()
function to load and manipulate images without encountering an error. TheJimp.read()
function is throwing aJimp.read is not a function
error, and I'm unable to proceed with loading images.1.6.0
using npm.Use the following code to load an image:
Jimp.read is not a function
.