3 ms·
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-
by songzme 5y ago
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.
- inglor 5y agoFirst: 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 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 :)
- songzme 5y agooh I see so when node v17.4.1 is released, I would be able to run node server.js --experimental-fetch
- inglor 5y agov17.5 but yeah
- huksley 5y agoJust slightly related to this - I wish I could ask GitHub to send me an email when specific release are available for the repo!
- mattdeboard 5y agoSounds like maybe an "if this, then that" kind of thing https://ifttt.com/ https://ifttt.com/
- fs111 5y agoYou can subscribe to only releases on github.