https://stackoverflow.com/questions/48433783/referenceerror-fetch-is-not-defined
Did ya fix it
Line 1 semicolon Line 3-6 fix indentation Line 4 reaponse->response Line 6 no space after 'Error', semicolon Fetch doesn't work in node.
require('node-fetch')
Are you in the browser?? Or node
Also you misspelled "response" and spelled it correctly elsewhere. Are you using a linter at all?
Обсуждают сегодня