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

NODE_ENV doesn't work on windows #20

Open
yoshuawuyts opened this issue Aug 31, 2017 · 2 comments
Open

NODE_ENV doesn't work on windows #20

yoshuawuyts opened this issue Aug 31, 2017 · 2 comments

Comments

@yoshuawuyts
Copy link
Member

λ npm start

> [email protected] start D:\gitwork\choo-electon-app-01
> NODE_ENV=development electron main.js

'NODE_ENV' is not recognized as an internal or external command,
operable program or batch file.

from create-choo-electron, but will also apply here

@ungoldman
Copy link
Member

I recommend cross-env as a good cross platform way to set env vars. Alternately we can provide instructions for both platforms.

@yoshuawuyts
Copy link
Member Author

@ungoldman I think cross-env would make sense to use here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants