DEV Community

Discussion on: Setting up a news letter with React and mailchimp

Collapse
tallangroberg profile image
Tallan Groberg Author

So you can have more than one environment variable. A good way to trouble shoot this would be to see if you could console log the process.env. REACT_APP_MAILCHIMP_URL If you think other things in your .env could be causing problems, my suggestion would be to take out everything that wasn’t an env variable in the file. No commas or semi colons etc.

I hope this helps