This follows the video: https://explorers.netlify.com/learn/up-and-running-with-serverless-functions/integrate-with-a-third-party-api-with-serverless-functions however you will get: `Must use import to load ES Module`. This is because `node-fetch` is now ESM only (see: https://github.com/node-fetch/node-fetch/blob/main/docs/v3-UPGRADE-GUIDE.md#converted-to-es-module) You have two options (maybe more...): - Use version `2.x` and use commonJS - Add `esbuild` as a bundler and use ESM (https://www.netlify.com/blog/2021/04/02/modern-faster-netlify-functions/)