I'm attempting to Fetch GET my website (with node-fetch) Scrape it with Cheerio to get specific posts Fetch GET from my CMS (with node-fetch) to check if there'
I just use const fetch = require('node-fetch') And I get Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\Alex\Desktop\rollbot\node_modules\node-fetch\
I'm using the node-fetch npm module and have a helper function for making authorized requests to a third party service (basically just middleware for adding in
I can't use the package "node-fetch@3". I just import it and my console will log the error: const node_fetch_1 = require("node-fetch"); ^ E