Why isn't fetch in Node.js working like it does in the browser? or What's the best way to use fetch i

16 Replies, 1575 Views

wait, so if i’m on Node 16, i *have* to install node-fetch? that’s annoying.

just tried `npm install node-fetch@2` and it worked! but now i’m wondering if i should upgrade to Node 18 instead.

also, why’s everyone hyping undici? is it faster or something?

thanks for the help, y’all! 🙏

Messages In This Thread



Users browsing this thread: 1 Guest(s)