[unenv] crypto.createhash is not implemented yet!
My project runs normally in development mode, but I encounter an error when previewing with Wrangler or deploying the project to Cloudflare Pages.
Error: [unenv] crypto.createHash is not implemented yet!
I have already configured
compatibility_flags = ["nodejs_compat_v2"]
in wrangler.toml
, but the issue persists. Please help me, thank you.5 Replies
Hey @็ก็๐ฆ๐พ๐ฌ๐ฑ๐ฒ๐ฎ๐ฑ ๐
crypto.createHash
should indeed work, I just checked with our latest wrangler versioncould you double check that you're using the latest wrangler release and let me know if that helps? ๐
This is the version I use "wrangler": "^3.79.0"
So it is available in the latest version?
I always thought it was because โpagesโ not available
yes it should be available in the latest version
please try
3.80.2
๐
the fact that you're using pages should not matter ๐