transitive-bullshit / puppeteer-lottie-cli

CLI for rendering Lottie animations via Puppeteer to image, GIF, or MP4.
136 stars 20 forks source link

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

Open theumairriaz opened 3 years ago

caub commented 2 years ago

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
  }
});
michalhudecek commented 2 months ago

How to fix this for the CLI on Ubuntu?