geelen/react-snapshot

issue with node-fetch: TypeError: Cannot set property 'Headers' of undefined

Zhell1 opened this issue · 0 comments

🕷 Starting crawling http://localhost:3000/
Error: Uncaught [TypeError: Cannot set property 'Headers' of undefined]
[...]
at eval (webpack:///./src/node_modules/node-fetch/browser.js?:23:17)
at Object../src/node_modules/node-fetch/browser.js (http://localhost:3000/main.js:12032:1)

in a file using just:

var res = await fetch(my_outside_url)