Odinodin
CDCloudflare Developers
•Created by Odinodin on 11/27/2023 in #workers-help
Node crypto using Remix
I get the following error message when running
wrangler pages dev ./public --d1=DB --compatibility-flags=nodejs_compat --compatibility-date=2023-11-27
Uncaught Error: Dynamic require of "node:crypto" is not supported
I set serverPlatform: "node",
in the remix.config.js to get Remix to use the node API locally.
Any advice on how to proceed?3 replies