undefined ERROR Error: Invariant failed at invariant (/var/task/node_modules/tiny-invariant/dist/tiny-invariant.cjs.js:10:15)
Please check if you supplied all the environment variables your app need.
Tiny invariant is a node packages that throws an error if a value is not there. This is used to make sure the expected environment vars are available. If there is a bit more stack trace, you might be able to see where in your remix code the value is unavailable.