Skip to content

Clarify node version requirement #1918

Closed
@kylecordes

Description

@kylecordes

Currently, the README says a few things about Node and NPM versions:

"The generated project has dependencies that require Node 4.x.x and NPM 3.x.x."
"When you ng serve remember that the generated project has dependencies that require Node 4 or greater."

It would be helpful if this were clarified in several ways:

  • The two statements above disagree. Do they require specifically 4.x? Or do they work with 4.0.0 or greater? How much greater?
  • Is there a recommendation, beyond these mere requirements?
  • The statements in the README appear to pertain only to the generated project. This leaves a bit of vagueness as to what requirements might pertain to Angular-CLI itself.

Possibly helpful info:

I work at "Angular Boot Camp" where we field questions about this stuff from a new batch of developers coming into Angular for the first time, very frequently. They commonly ask things like:

  • "I'm still using Node 0.12, because we never upgrade anything ever, are you sure it won't work? Can I try it and see how far I get?" Because of this kind of question, I suggest enforcing requirements as part of running the tool, not only mentioning them in the README.
  • "We just finally got everything upgraded to Node 6, are you saying I need to downgrade to use CLI?"
  • "I am on 6.0.0, does it work?" (I happen to know the answer is no, or at least, not unless you want to work around some other problems. Likewise, I suspect but have not tested that CLI does not work with any 4.x.x, but rather it requires 4.something.something or higher)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5The team acknowledges the request but does not plan to address it, it remains open for discussionarea: docsRelated to the documentationeffort1: easy (hours)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions