Skip to content
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

process.env.NODE_ENV undefined warning #260

Closed
bebbi opened this issue Jul 28, 2016 · 5 comments
Closed

process.env.NODE_ENV undefined warning #260

bebbi opened this issue Jul 28, 2016 · 5 comments
Milestone

Comments

@bebbi
Copy link
Contributor

bebbi commented Jul 28, 2016

if using process.env.NODE_ENV inside src/, leads to warning "'process' is not defined", while the string replacement does work. (Maybe replace could happen before linting?)

@gaearon
Copy link
Contributor

gaearon commented Jul 28, 2016

process.node.NODE_ENV? did you mean process.env.NODE_ENV?

@bebbi
Copy link
Contributor Author

bebbi commented Jul 28, 2016

yes apologies - typo'ed only here..

@bebbi bebbi changed the title process.node.NODE_ENV undefined warning process.env.NODE_ENV undefined warning Jul 28, 2016
@gaearon gaearon added this to the 0.2.0 milestone Jul 28, 2016
@gaearon
Copy link
Contributor

gaearon commented Jul 28, 2016

Thanks for reporting!

@bebbi
Copy link
Contributor Author

bebbi commented Jul 28, 2016

breaking the issue-to-commit record!

@gaearon
Copy link
Contributor

gaearon commented Jul 28, 2016

Wasn’t that hard 😄

@lock lock bot locked and limited conversation to collaborators Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants