I’m new to fly.io and recently I wanted to move my Node.JS Discord Bot from Heroku. Everything went smoothly except one thing - I’m using image scraper package, that is using puppeteer.
const Scraper = require("images-scraper");
const scraper = new Scraper({
puppeteer: {
headless: true,
args: ["--no-sandbox"],
},
safe: true,
});
On Heroku I had to add this buildpack:
But I can’t do it on fly.io or at least I can’t find out how. Is there a way to make it work?
This is the console error: