const config = { // ... externals: { puppeteer: 'require("puppeteer")', // ... }, };
npm install --save apify