puppeteer-lottie-cli icon indicating copy to clipboard operation
puppeteer-lottie-cli copied to clipboard

Loading browserError: Browser is not downloaded. Run "npm install" or "yarn install" on executing puppeteer cli command

Open theumairriaz opened this issue 4 years ago • 2 comments

theumairriaz avatar Jan 01 '21 06:01 theumairriaz

workaround:

const renderLottie = require('puppeteer-lottie');

await renderLottie({
  path: 'path/to/input.json',
  output: 'path/to/input.mp4',
  puppeteerOptions: {
    executablePath: 'google-chrome' // my local chrome path, I'm using linux
  }
});

caub avatar Jan 03 '22 10:01 caub