-
Notifications
You must be signed in to change notification settings - Fork 12k
Angular CLI should require at least node v6.x.x and npm 3.x.x #1046
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
Comments
I'd say focus on 6, as it is going to be the next LTS. So when the CLI comes to live, we will have a solid basement. |
I think the comment about version 6 is right on. There are already so many ways for CLI to explode in scope. Anywhere we can limit the scope (like chopping out old node versions) will help the team focus on making it actually work great for current versions. |
We're now also testing on Node 6 with ce8d020, but for now will not enforce using node 6. |
README.md still says:
Also, I would link users to NVM as a solution for switching between Node versions. Something like: |
NPM Version: 6.7.0 When I execute command npm install -g @angular/cli Installation gets stuck during execution . Stucked on [email protected] |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I was playing with Angular CLI and I love it. Superb tool that save me a lot of time specially with all those new features of Angular 2. The only problem I had was with Node. According to docs, Angular CLI requieres Node 4 or greater, but if you are using Node 4.x and start a new project, it will fail with cryptic error messages in the browser console log.
After many hours of frustration, I realize that Angular 2 requires Node 5.x or higher:
By doing some research in Stack Overflow, seems that many other have faced the same problem. Look, for example, the comments in this blogpost. So, I'd like to recommend update your Prerequisites Docs to node v5.x.x and npm 3.x.x or higher in order to save hours of frustration to new people who wants to try Angular 2.
Thanks.
EDIT Jun 16
I agree with @BernhardRode and @kylecordes, Angular CLI should focus on Node 6. Please, upgrade your Prerequisites Docs to node v6.x.x and npm 3.x.x or higher, it's just a minute and will avoid lot of bug reports.
The text was updated successfully, but these errors were encountered: