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