My Remix app was working correctly when my various api values were inline. I then moved them to a .env file and imported the file to Netlify. My file now uses process.env.[ENV_VARIABLE]
to access the environment variables. When I run netlify dev
, I get the following console error: Uncaught ReferenceError: process is not defined
Asked
Active
Viewed 205 times
1

rcrusoe
- 441
- 2
- 4
- 14
-
1If you're using `process` in client-side code, this is expected. `process` only works in Node.js. – Hrishikesh Kokate Feb 13 '23 at 17:05