Error: Invariant failed: SESSION_SECRET must be set
This is because the repo comes with a .env.example file but .env is missing.
I have read issue in issue#71 in grunge-stack and this comment shares some light. It would be convenient to add a note that instructs to add a .env file after in the Blog tutorial page.
Have you experienced this bug with the latest version of the template?
yes
Steps to Reproduce
After npx create-remix@latest --template remix-run/indie-stack blog-tutorial
and npm run dev
we expect a successful running server at 3000
Expected Behavior
Mock server running [remix-serve] http://localhost:3000 (http://172.25.160.1:3000)
Actual Behavior
Error: Invariant failed: SESSION_SECRET must be set
This is because the repo comes with a .env.example file but .env is missing.
I have read issue in issue#71 in grunge-stack and this comment shares some light. It would be convenient to add a note that instructs to add a .env file after in the Blog tutorial page.