netlify-functions-headless-chrome icon indicating copy to clipboard operation
netlify-functions-headless-chrome copied to clipboard

Chromium revision is not downloaded

Open itwasmattgregg opened this issue 6 years ago • 3 comments
trafficstars

I'm getting this error when making a request to this function locally. I am using netlify dev btw. I can send you the repo if you need. Not sure what's going on.

error Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
    at Launcher.launch (/Users/mgregg/repos/allergies/.netlify/functions/get-allergy-info/node_modules/puppeteer-core/lib/Launcher.js:119:15)

itwasmattgregg avatar Sep 17 '19 16:09 itwasmattgregg

Running into the same issue. Has anyone overcome this?

cbetta avatar Oct 16 '19 10:10 cbetta

Running into this as well. It's cumbersome to test against the Netlify servers.

jakobrosenberg avatar Jan 22 '20 16:01 jakobrosenberg

You'll want to add puppeteer for local developement: yarn add puppeteer -D. This should fix it.

TejasQ avatar Jan 28 '21 15:01 TejasQ