Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
BrunoQuaresma opened this issue · 3 comments
BrunoQuaresma commented
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
Same
t4sk commented
sudo npm install puppeteer --unsafe-perm=true --allow-root
BrunoQuaresma commented
Better discussion about this error: vercel/vercel#2357 (comment)