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
AvocadioOP2y ago
oh i see thx

Did you find this page helpful?