How do I fix ReferenceError: fetch is not defined

I'm trying to use fetch on node.js but it's showing an error saying "ReferenceError: fetch is not defined"

You are viewing a single comment. View All

You might need to actually install the module before using it. Could you link the Repl?