Closed binita12345 closed 6 years ago
When you import using the ESM module format:
import { canvasToBlob } from 'blob-util'
Then you omit the blobUtil
part when you call it. It's only when you include it as a script tag that it creates a global blobUtil
object. Hope that helps!
Property 'imgSrcToDataURL' does not exist on type '{}'.
It sounds like the library wasn't imported properly. Sorry I can't help you more than that...
when i use this node modules to convert my image in blob, i getting error "can not find module 'blobUtil'".
How to solve this error or how to install or use modules in ionic 3 app. please reply asap