fhir-kit-client
fhir-kit-client copied to clipboard
Broken in Node18?
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