1

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

1
  • 1
    If you're using process in client-side code, this is expected. process only works in Node.js. Commented Feb 13, 2023 at 17:05

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.