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
error_log
error_log5mo ago
add compatibility_flags = [ "nodejs_compat" ] to your wrangler.toml
bnason
bnasonOP5mo ago
let me try that thanks That did not seem to help unfortunately
Want results from more Discord servers?
Add your server