createHmac
(from node:crypto
) is not implemented for nodeless targets
#291
Labels
createHmac
(from node:crypto
) is not implemented for nodeless targets
#291
Environment
nodejs20
"nuxt": "^3.12.3",
wrangler:
Reproduction
Just enable
nodejs-compat
in wrangler and using cloudlfare_module preset, you will get the same error:[unenv] crypto.createHmac is not implemented yet!
Describe the bug
Cannot use createHmac in cloudflare worker with
cloudflare_module
preset,got error:
[unenv] crypto.createHmac is not implemented yet!
but createHmac is supported in cloudflare worker: https://developers.cloudflare.com/workers/runtime-apis/nodejs/crypto/
Additional context
No response
Logs
[unenv] crypto.createHmac is not implemented yet!
The text was updated successfully, but these errors were encountered: