Why is IE11 giving me an error for node-fetch using fetch in the node modules folder?

209 views Asked by At

My React site isn’t loading in IE11 because the node-fetch module uses fetch in the node module folder browser.js file. Although I’m not using node-fetch outside of node, IE is giving me an error because of the fetch being used in that browser.js file. If I import isomorphic-fetch into the node module file it works, but altering the file is not ideal. It also works if I import isomorphic-fetch in app.js, but it seems like I’m missing something.

Why is IE giving me an error?

0

There are 0 answers