-
Notifications
You must be signed in to change notification settings - Fork 1
puppeteer error #2
Copy link
Copy link
Open
Description
I got an error. Could u help me?
Error: Could not find Chrome (ver. 126.0.6478.63). This can occur if either
- you did not perform an installation before running the script (e.g.
npx puppeteer browsers install chrome) or - your cache path is incorrectly configured (which is: /Users/cc/.cache/puppeteer).
For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration.
at ChromeLauncher.resolveExecutablePath (/Users/cc/IdeaProjects/InstaDM/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:295:27)
at ChromeLauncher.executablePath (/Users/cc/IdeaProjects/InstaDM/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js:209:25)
at ChromeLauncher.computeLaunchArguments (/Users/cc/IdeaProjects/InstaDM/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js:89:37)
at ChromeLauncher.launch (/Users/cc/IdeaProjects/InstaDM/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:70:39)
at ChromeLauncher.launch (/Users/cc/IdeaProjects/InstaDM/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js:43:22)
at PuppeteerNode.launch (/Users/cc/IdeaProjects/InstaDM/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PuppeteerNode.js:132:31)
at PuppeteerExtra.launch (/Users/cc/IdeaProjects/InstaDM/node_modules/puppeteer-extra/dist/index.cjs.js:128:41)
at async loginInstagramFunc (/Users/cc/IdeaProjects/InstaDM/app.js:289:23)
/Users/cc/IdeaProjects/InstaDM/app.js:381
await browser.close();
^
TypeError: Cannot read properties of undefined (reading 'close')
at loginInstagramFunc (/Users/cc/IdeaProjects/InstaDM/app.js:381:23)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels