import is undefined
I'm using a package called
samlify
which has imports some items from package node-forge
,. For some reason, the node-forge
imports are undefined in the cloudflare worker. I'm getting an error TypeError: Cannot read property of undefined (reading 'decode64') ....
Can anyone help?2 Replies
add
compatibility_flags = [ "nodejs_compat" ]
to your wrangler.tomllet me try that thanks
That did not seem to help unfortunately