Hi Douglas. I'm doing well. Thank you.
What operating system are you using? This should work in unix based terminals.
You can also do this in 2 steps. First, you can set the environment variable by just entering TWITCH_SIGNING_SECRET=purplemonkeydishwasher into the terminal. You can check it my then entering ECHO $TWITCH_SIGNING_SECRET in the terminal and it should respond with purplemonkeydishwasher. Then you can run node index.js.
I hope this helps. I'm working on an update coming soon where I have it running in a Netlify function.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Douglas. I'm doing well. Thank you.
What operating system are you using? This should work in unix based terminals.
You can also do this in 2 steps. First, you can set the environment variable by just entering
TWITCH_SIGNING_SECRET=purplemonkeydishwasher
into the terminal. You can check it my then enteringECHO $TWITCH_SIGNING_SECRET
in the terminal and it should respond withpurplemonkeydishwasher
. Then you can runnode index.js
.I hope this helps. I'm working on an update coming soon where I have it running in a Netlify function.