roitman
CDCloudflare Developers
•Created by roitman on 8/18/2024 in #general-help
Cloudflare with node compatibility
I am trying to deploy remix app which is built with vite on cloudflare.
I am getting errors like ERROR: Could not resolve "crypto".
I added compatibility_flags = [ "nodejs_compat" ] flag into the wrangler file.
I do not directly use crypto module, the library I use uses it. Does anyone know how to make it work so that those libraries import with node: prefix?
2 replies