Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel Error: Could not find browser revision [number] #30

Open
marcospaiva opened this issue Jan 24, 2021 · 0 comments
Open

Vercel Error: Could not find browser revision [number] #30

marcospaiva opened this issue Jan 24, 2021 · 0 comments

Comments

@marcospaiva
Copy link

marcospaiva commented Jan 24, 2021

Hi!

I'm testing this amazing library in a proof of concept and I had a problem with a deploy at Vercel. My suspicion is that vercel needs to deal with browser binary in other way.

The complete error log is:

Scraper (constructing): Using options: {"sessionCookieValue":"<cookieValue>","keepAlive":true,"timeout":10000,"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36","headless":true}
Scraper (setup): Launching puppeteer in the background...
Scraper (setup): An error occurred during setup.
2021-01-24T13:38:28.641Z	01798364-a27e-4032-b9e4-b7bf834a6870	ERROR	Unhandled Promise Rejection 	{"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: Could not find browser revision 756035. Run \"npm install\" or \"yarn install\" to download a browser binary.","reason":{"errorType":"Error","errorMessage":"Could not find browser revision 756035. Run \"npm install\" or \"yarn install\" to download a browser binary.","stack":["Error: Could not find browser revision 756035. Run \"npm install\" or \"yarn install\" to download a browser binary.","    at ChromeLauncher.launch (/var/task/node_modules/puppeteer/lib/Launcher.js:81:23)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error: Could not find browser revision 756035. Run \"npm install\" or \"yarn install\" to download a browser binary.","    at process.<anonymous> (/var/runtime/index.js:35:15)","    at process.emit (events.js:326:22)","    at processPromiseRejections (internal/process/promises.js:209:33)","    at processTicksAndRejections (internal/process/task_queues.js:98:32)"]}
Unknown application error occurred

An exemple using aws-lambda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant