Try adding default at the end as shown below,
const fetch = require('node-fetch').default;
When using require('node-fetch'), you must access the default property