next-api-og-image
next-api-og-image copied to clipboard
Error: Could not find expected browser (chrome) locally. Run `npm install` to download the correct Chromium revision (901912).
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
- clone this project
- npm install
- cd example && npm install
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
- npm build && npm start
- browser open and go to url http://localhost:3000/api/basic?myQueryParam=asdf