Open amite opened 1 year ago
@kentcdodds should we update the readme docs or the deploy file to get this project up and running on fly.io?
Sorry, I'm afraid I don't have time to look into this. If you figure out the issue and have a pull request to make then I would gladly review 👍
UPDATE: the only way this got resolved was by adding ADMIN_EMAIL to the deploy step. Not sure this is the right way to do things in production. Any advice on setting secrets in github instead?
npm run build passes but npm run start fails. This is the error I get:
(npm run dev works and the site starts up _and functions end to end as expected).
The place where it crashes I think is right here: https://github.com/amite/remix-full-stack-blog/blob/a58b9813b0f9c01d95fd7a52eb38e14fe37a3338/app/env.server.ts#L4
Somehow in production mode its not able to read
process.env.ADMIN_EMAIL
I think.When I try to push to github, I get the same error as filed in this issue: https://github.com/kentcdodds/onewheel-blog/issues/7
My repo is right here: https://github.com/amite/remix-full-stack-blog
I am running on node v18.11.0 My OS is Monterey Link to failed job: https://github.com/amite/remix-full-stack-blog/actions/runs/3298870582/jobs/5441547406
What should I do get rid of this invariant error?