stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.06k stars 394 forks source link

Doesn't work in AWS Amplify #388

Closed cvillafraz closed 5 years ago

cvillafraz commented 5 years ago

Bug Report

Current Behavior I'm deploying a react-snap app to AWS Amplify. It keeps throwing the error "error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory" aws

Reproducible demo I cannot add a demo since it's a client's private repo

Expected behavior/code react-snap works in my dev environment, but not in AWS Amplify

stereobooster commented 5 years ago

This issue with puppeteer. See https://github.com/GoogleChrome/puppeteer/issues/765 or https://medium.com/mockingbot/run-puppeteer-chrome-headless-on-ec2-amazon-linux-ami-6c9c6a17bee6