stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.05k stars 394 forks source link

Error: Chromium revision is not downloaded. Run "npm install" or "yarn install" #519

Closed BrunoQuaresma closed 3 years ago

BrunoQuaresma commented 3 years ago

Using react-snap on Vercel I'm getting this error:


$ react-snap
--
16:49:34.528 | Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
16:49:34.529 | at Launcher.launch (/vercel/workpath1/node_modules/puppeteer/lib/Launcher.js:119:15)
16:49:34.529 | at async crawl (/vercel/workpath1/node_modules/react-snap/src/puppeteer_utils.js:188:19)
16:49:34.529 | at async run (/vercel/workpath1/node_modules/react-snap/index.js:647:3)
16:49:34.546 | error Command failed with exit code 1.
Giridhar108 commented 3 years ago

Same

t4sk commented 3 years ago

sudo npm install puppeteer --unsafe-perm=true --allow-root

https://stackoverflow.com/questions/53997175/puppeteer-error-chromium-revision-is-not-downloaded#53998266

BrunoQuaresma commented 3 years ago

Better discussion about this error: https://github.com/vercel/vercel/issues/2357#issuecomment-626236409