I have a script that uses puppeteer to take screenshot of DOM components and outputs an image. Everything works fine on MacOS but when I run this on Ubuntu the emojis become a rectangle. Does anyone know why is this happening?
- MacOS: (where you can see a rocket emoji)

- Ubuntu: (emoji becomes a rectangle)
