Puppeteer: Tried to find the browser at the configured path ({value}), but no executable was found.
A configured browser executable path does not exist.
A configured browser executable path does not exist.
Error message
Tried to find the browser at the configured path ({value}), but no executable was found.
{value} is replaced by the value shown in your error message.
How this error happens
executablePath is a filesystem path in the machine running Node.js. A path copied from another machine, or a path to a browser that was never installed, does not exist there.
The snippets use the imported puppeteer instance.
await puppeteer.launch({
executablePath: "/missing/chrome",
});
How to fix
Remove the incorrect override to use Puppeteer’s installed compatible browser, or replace it with the actual existing executable path.
const browser = await puppeteer.launch();
Things to keep in mind
If the compatible browser has not been downloaded, run npx puppeteer browsers install in the same project and cache environment first. A directory or macOS .app bundle root is not the executable itself.