fhir-kit-client icon indicating copy to clipboard operation
fhir-kit-client copied to clipboard

Broken in Node18?

Open joebowbeer opened this issue 2 years ago • 0 comments

I am almost certain that the use of cross-fetch/polyfill will not replace the new experimental global fetch introduced in Node18.

This can result in unintended consequences in some edge cases:

https://github.com/lquixada/cross-fetch/issues/155 https://github.com/node-fetch/node-fetch/issues/1566

For example, I suspect some tls options may not be supported:

https://stackoverflow.com/q/73817412/901597

Workaround: Explicitly disable native fetch via --no-experimental-fetch

joebowbeer avatar Apr 20 '23 05:04 joebowbeer