ReferenceError: DOMException is not defined in node
Exception has occurred: ReferenceError ReferenceError: DOMException is not defined at _fetch (/node_modules/abortcontroller-polyfill/dist/cjs-ponyfill.js:400:9)
What are the steps to reproduce this issue? What node version did you use? Can you post the script that you are running?
this issue is related to use case with node. I found out later that node doesn't support AbortController but believed in this lib because in readme it has node installation. https://github.com/mo/abortcontroller-polyfill#using-it-on-nodejs
But it doesn't work at all.
DOMException exist globally in NodeJS v17 doe it's supported as early as in v10.5 but not easily accessible without node-domexception
AbortController came into NodeJS v15