Hacker News new | past | comments | ask | show | jobs | submit login

sorry if this is a stupid question, but how do I try this out? I ran node with the experimental flag on a file that calls fetch:

node server.js --experimental-fetch

Got 'fetch is not defined' reference error.




First: not a stupid question - the release cadence, multiple release lines and other minutia of a project like Node are not something I'd expect users to be intimately familiar with!

This _just landed today_. You can get it by building from master:

```

# there is more details in building.md

git clone https://github.com/nodejs/node

cd node

# may need to pass --openssl-no-asm

./configure

make -j12

./out/Release/node --experimental-fetch

```

Otherwise - wait a bit for the next v17 release to land per the normal release cycle :)


Just slightly related to this - I wish I could ask GitHub to send me an email when specific release are available for the repo!


You can subscribe to only releases on github.


Sounds like maybe an "if this, then that" kind of thing https://ifttt.com/


oh I see so when node v17.4.1 is released, I would be able to run

node server.js --experimental-fetch


v17.5 but yeah




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: