Struggling to start new project with hydrogen, session_secret error. #2714
-
This was working for me last week but I'm not sure what has happened since, I've decided to embark on a new project and new store.
my npm run dev result in http://localhost:3000/: Error: SESSION_SECRET environment variable is not set |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In your local
If you are deploying to Oxygen, SESSION_SECRET environment variable should already be defined for you |
Beta Was this translation helpful? Give feedback.
In your local
.env
file, just addIf you are deploying to Oxygen, SESSION_SECRET environment variable should already be defined for you