Unable to import `node-fetch` in service

@MarkBennett Believe it or not @danny and I ran across this very issue a few days ago while working on a project and the issue is solved here: GitHub - node-fetch/node-fetch: A light-weight module that brings the Fetch API to Node.js

You have to use v2 and not v3 unfortunately:

‘npm install node-fetch@2’

Danny could probably explain better than I can, but with that change it works again.

1 Like