Could not resolve "fs", "http", "https", "url", ....
Hey, I'm using Hono in the backend, from where I'm uploading an image to Cloudinary. As I installed the Cloudinary package, it has some dependencies of its own, such as 'fs', 'https', 'http', 'url', etc. Unfortunately, Cloudflare Workers do not support these Node.js packages. I tried adding node_compat in my wrangler.toml file, but it didn't fix anything. I can't add "node:" to each of those packages, as they are all Cloudinary dependencies. The same is the case with the 'bcrypt' package.
I've certainly lost 20% of my brain cells working on it.
Any help is appreciated!
I've certainly lost 20% of my brain cells working on it.
Any help is appreciated!
