Getting error when deploying app, but not when running it locally

This is solved by adding a packages.txt file to install system-level dependencies: