-
-
Notifications
You must be signed in to change notification settings - Fork 26.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: *** process.env.ENV is not defined, assuming 'prod' env #2722
Comments
Please edit the bug report to follow the issue template. You didn't specify most of the information we need to diagnose the issue. Thanks! |
(At the very least we'll need the full message text, preferably a screenshot, and steps to reproduce.) |
Thanks for the screenshot. This is not a warning from React or Create React App. I don’t know how this could be related to our updates, but I can only say more if you provide a project reproducing it. |
@mnemanja This warning comes from the latest Chrome update. Any React app I use where the ENV variable is not defined produces this error for me. |
@mnemanja Even I had same issue, it was coming from one of the chrome extension (Grammarly for Chrome). Disabling the extension solved problem!! |
Thanks @mayurvarma14, I can confirm this behavior coming from the Grammarly extension. |
@mnemanja Welcome! |
Thanks mayurvarma14 |
Since we figured out what causes it, I’ll lock the thread to prevent additional +1’s. |
Starting from version 1.0.5 I've started getting this warning message in the browser console.
I've been wondering on how to get rid of it. I know how to create a custom variable, but I'm not sure how the
process.env.ENV
should be defined?node -v
: 6.10.0npm -v
: 5.0.4npm ls react-scripts
: 1.0.5Operating system: Windows 10
Browser and version (if relevant): Chrome
Cheers,
Nemanja
The text was updated successfully, but these errors were encountered: