Node-fetch: IE11 - SCRIPT5007: Unable to get property 'bind' of undefined or null reference

Created on 2 Apr 2020  路  3Comments  路  Source: node-fetch/node-fetch

Hi,

I keep getting this error which prevents page from loading

image

image

Is there something I'm missing to do?
I'll provide any additional info you might need.

Thanks,
Nikola

Most helpful comment

@githubnikola node-fetch is only built to work with Node.js, as the name states. For isomorphic usage in the browser, use https://github.com/lquixada/cross-fetch.

All 3 comments

@githubnikola node-fetch is only built to work with Node.js, as the name states. For isomorphic usage in the browser, use https://github.com/lquixada/cross-fetch.

Despite being used only with Node.js, Chrome doesn't fail to load the same page.
Do you have any idea why is that the case?
Thanks.

@githubnikola Webpack polyfills the entire HTTP library to make it work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tarikjn picture tarikjn  路  3Comments

bittlingmayer picture bittlingmayer  路  4Comments

wheresrhys picture wheresrhys  路  3Comments

jimliang picture jimliang  路  4Comments

KamasamaK picture KamasamaK  路  3Comments