-
Notifications
You must be signed in to change notification settings - Fork 18
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
Error: Could not find expected browser (chrome) locally. Run npm install
to download the correct Chromium revision (901912).
#40
Comments
I also have this problem, but only on production |
Same here. Works with dev build, but puppeteer-core cannot find chromium in the production build. |
Hey folks @guhyeon @kamenskiyyyy @mvandergrift The problem is probably only occurring during production app runtime on the local machine since when I'll try to do something like detecting if the code is run on AWS to solve this Cheers. Igor |
@neg4n I found a solution https://github.com/kamenskiyyyy/open-graph-image-example. You just need to remove chrome-aws-lambda. |
Im afraid that this can't be solved like this 😔 Only when hosting/running the |
Hey folks @guhyeon @mvandergrift @kamenskiyyyy https://github.com/neg4n/next-api-og-image/releases/tag/4.2.2 🚀 Thanks for your contributions, feel free to continue the topic if problem still persists 😄 |
Serving my Next.js app on DigitalOcean, I'm getting this error after updating to 4.2.2:
|
|
Error: Could not find expected browser (chrome) locally. Run
npm install
to download the correct Chromium revision (901912).when build example and start, errors are occurred.
'npm run dev' is ok, but 'npm run build' and 'npm run start' has problem.
reproduce steps
after I encountered errors bellow
`It looks like you're trying to use TypeScript but do not have the required package(s) installed.
Please install @types/react by running:`
so i installed @types/react and upgrade next, react
4. npm install --save-dev @types/react && npm install next@latest && npm upgrade react@latest react-dom@latest
The text was updated successfully, but these errors were encountered: