/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js Module not found: Can't resolve 'readline' code example
Example: * ws in ./node_modules/puppeteer/lib/WebSocketTransport.js
const config = {
// ...
externals: {
puppeteer: 'require("puppeteer")',
// ...
},
};