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 is not a command in windows when npm run build #11

Open
zhihuilai opened this issue Feb 21, 2017 · 0 comments
Open

NODE_ENV is not a command in windows when npm run build #11

zhihuilai opened this issue Feb 21, 2017 · 0 comments

Comments

@zhihuilai
Copy link

zhihuilai commented Feb 21, 2017

Hi, Jed. In windows, set NODE_ENV=production is ok, but NODE_ENV=production will throw an error, I found a node package cross-env, it can help to set environment variables cross platform.

https://github.com/kentcdodds/cross-env

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

1 participant