`TypeError: This WritableStream has been closed` due to use of Buffer?

I came across this issue on pages: https://discord.com/channels/595317990191398933/1066524365333729350 ✘ [ERROR] TypeError: This WritableStream has been closed. I suspect it is due to the use of node:buffer (I set the node compatibility flag). It does seemingly not cause any issues and the site seems to work fine. But it definitely feels uneasy. Is there a way to resolve this or should I ignore it?
No description
1 Reply
2fun
2fun6mo ago
Debugging this is quite hard, but I suspect this code:
Buffer.from(invoice).toString('base64')
Buffer.from(invoice).toString('base64')
Please ping me anytime if there are any news about this! Thank you 👍
Want results from more Discord servers?
Add your server