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

Minimum node version--5 (package.json) or 7 (readme)? #10

Closed
IBwWG opened this issue Dec 31, 2016 · 4 comments
Closed

Minimum node version--5 (package.json) or 7 (readme)? #10

IBwWG opened this issue Dec 31, 2016 · 4 comments

Comments

@IBwWG
Copy link

IBwWG commented Dec 31, 2016

Does this mean it would run on 6, maybe better for production environments anyway?

@eddyystop
Copy link
Owner

Changed both to node 6.9.0 (version in LTS) and npm 3.10.8 as. if you are starting a new project, why would you use anything else.

React runs much faster in production mode than in development mode.
Based on how long Travis tests take to complete, node 6 runs significantly faster than 4.

In 0.3.1 when its pushed.

@IBwWG
Copy link
Author

IBwWG commented Dec 31, 2016

It's not that I would use 5, but I had just installed 6 and then read the docs and installed 7, when I could have stayed with 6. :) Anyway thanks for clarifying, looking forward to the next release.

@eddyystop
Copy link
Owner

eddyystop commented Dec 31, 2016

Odd numbered Node versions are allowed to introduce breaking changes, even ones are not. So you use 7 to prepare for 8, which will be in Long Term Support. But its best not to use odd versions for production.

I assume you know of nvm-windows. It makes changing versions easy. (I use nvm on Ubuntu and nvm-windows is supposed to work the same way.)

@IBwWG
Copy link
Author

IBwWG commented Dec 31, 2016

Exactly. :)

Yes, but I had trouble running it out of the box. Seems to be a theme with me sometimes! nvm worked great for me on Linux Mint though.

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