Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Production release should ignore NODE_ENV environment variable #915

Closed
johanalkstal opened this issue Feb 25, 2016 · 18 comments
Closed

Production release should ignore NODE_ENV environment variable #915

johanalkstal opened this issue Feb 25, 2016 · 18 comments
Labels
bug fixed-with-brave-core This issue will automatically resolved with the replacement of Muon with Brave Core. installation priority/P5 Cosmetic. Spelling, copy, layout. New features (which should also be part of an initiative). wontfix

Comments

@johanalkstal
Copy link

Having just downloaded the Win 64 installer and finished installing, this is what I'm greeted with.

brave_install

@bbondy
Copy link
Member

bbondy commented Feb 25, 2016

where did you download from?

@johanalkstal
Copy link
Author

I tried both from the in-mail link and from brave.com front page link.

@bbondy
Copy link
Member

bbondy commented Feb 25, 2016

have you ever had the development version installed?

@johanalkstal
Copy link
Author

No first time installing Brave on Windows.

@bbondy
Copy link
Member

bbondy commented Feb 25, 2016

Do you have NOD_ENV set globally as an environment variable?

@johanalkstal
Copy link
Author

That I do.

@bbondy
Copy link
Member

bbondy commented Feb 25, 2016

bingo! OK we should change this, thanks for the post. For now you can set it not globally only on your project that needs it.

@johanalkstal
Copy link
Author

Indeed. I think that is good advice overall. :)

@bbondy bbondy added this to the 0.8.0 milestone Feb 25, 2016
@bbondy
Copy link
Member

bbondy commented Mar 3, 2016

haven't had time to do this yet, moving to 0.8.1

@bbondy bbondy modified the milestones: 0.8.1, 0.8.0 Mar 3, 2016
@bbondy bbondy modified the milestones: 0.8.2, 0.8.1 Mar 10, 2016
@bbondy bbondy modified the milestones: 0.8.3, 0.8.2 Mar 20, 2016
@bbondy bbondy modified the milestones: 0.9.0, 0.8.3 Mar 30, 2016
@bbondy bbondy modified the milestones: 0.9.2, 0.9.0 Apr 6, 2016
@bbondy bbondy removed this from the 0.9.3dev milestone Apr 28, 2016
@luixxiul
Copy link
Contributor

Does we need to work on this at all?

@bbondy
Copy link
Member

bbondy commented May 15, 2016

yes we should still fix, I haven't heard of more people affected yet though so not the highest priority.

@bsclifton bsclifton changed the title Windows installation shows webpack message Production release should ignore NODE_ENV environment variable Oct 5, 2016
@bsclifton bsclifton added bug and removed OS/Windows labels Oct 5, 2016
@bsclifton
Copy link
Member

Reworded issue-
Our production builds should not be considering the NODE_ENV environment variable

@bsclifton bsclifton added this to the Triage Backlog milestone Nov 27, 2017
Micluc added a commit to Micluc/browser-laptop that referenced this issue Apr 20, 2018
@jonathansampson
Copy link
Collaborator

@bbondy @bsclifton I just got off a call with a user who ran into this; removing the node_env value resolved the issue for them.

@bsclifton
Copy link
Member

@jonathansampson this could be a tricky one to solve properly... I think it's safe to say this wouldn't affect most users. Maybe we could describe the symptoms and share the fix on community.brave.com?

@jonathansampson
Copy link
Collaborator

@bsclifton Yeah, I suspect this is only going to impact developers (unless some software sets the same environment variable). One developer with whom I spoke wasn't familiar with env-variables, and still had this one set (which makes me wonder if some software may have set it).

@NejcZdovc
Copy link
Contributor

@jonathansampson @bsclifton because this behaviour is meant for developers only, we can detect if you set it and display notification on lunch with steps how to remove it. wdyt?

@bsclifton
Copy link
Member

I think if a contributor wanted to grab this, we can help them come up with messaging... but I think it's fairly low priority. Definitely won't be a problem with Brave Core

@bsclifton bsclifton added priority/P5 Cosmetic. Spelling, copy, layout. New features (which should also be part of an initiative). fixed-with-brave-core This issue will automatically resolved with the replacement of Muon with Brave Core. labels May 17, 2018
@bsclifton bsclifton modified the milestones: Triage Backlog, Backlog (Prioritized) May 17, 2018
@bsclifton bsclifton removed this from the Backlog (Prioritized) milestone Aug 13, 2018
@bsclifton
Copy link
Member

This will no longer be an issue once we move to brave-core

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed-with-brave-core This issue will automatically resolved with the replacement of Muon with Brave Core. installation priority/P5 Cosmetic. Spelling, copy, layout. New features (which should also be part of an initiative). wontfix
Projects
None yet
Development

No branches or pull requests

6 participants