What is difference between NodeJS Compat Flags

what is the difference between thoose two?
node_compat = true
compatibility_flags = ["nodejs_compat"]
node_compat = true
compatibility_flags = ["nodejs_compat"]
When i use node_compat = true flag for my web scraper worker, i get an error that says node:buffer can not be resolved but the other one works fine. So whats the difference
1 Reply
Avocadio
AvocadioOP16mo ago
oh i see thx
Want results from more Discord servers?
Add your server