Angular-cli: How i can chose a specific version of Angular for install ?

Created on 31 Dec 2017  路  6Comments  路  Source: angular/angular-cli

How i can chose a specific version of Angular for install, if i run
ng new PROJECT-NAME
I get the Angular 5.
But whatabout if i want to work with the version 2 or 4 of Angular ?

Angular CLI: 1.6.2
Node: 8.9.1
OS: darwin x64
Angular:

Repro steps

  • Step 1
  • Step 2
  • Step 3

Observed behavior

<!-- Normally this includes a stack trace and some more information. -->

Desired behavior

Mention any other details that might be useful (optional)

Most helpful comment

That is lazy, and a first-grade failure... are the development team alseep at the wheel? Why isn't this switch available? Too busy working on v5 and features only usable in 5 years time... #sigh another reason React and ExtJS are the two words on the minds of dev teams around me.

When will Angular move to being enterprise grade with it's tooling? This is one of the most asked questions about angular. It's also common sense considering the manic pace of versions. This is framework tool 101, not five years later. Come on angular, grow up, make mature tools with features that make life easy.

Sencha have done this for nearly 10 years in ExtJS, it's a simple feature. Then again Sencha's tooling has always been industry-leading, most of the angular's features were copied from there also.

All 6 comments

Heya, if you want to use other versions of Angular you can change the version numbers in package.json and run npm install. You might also have to change the version of TypeScript depending on the Angular version you choose.

That is lazy, and a first-grade failure... are the development team alseep at the wheel? Why isn't this switch available? Too busy working on v5 and features only usable in 5 years time... #sigh another reason React and ExtJS are the two words on the minds of dev teams around me.

When will Angular move to being enterprise grade with it's tooling? This is one of the most asked questions about angular. It's also common sense considering the manic pace of versions. This is framework tool 101, not five years later. Come on angular, grow up, make mature tools with features that make life easy.

Sencha have done this for nearly 10 years in ExtJS, it's a simple feature. Then again Sencha's tooling has always been industry-leading, most of the angular's features were copied from there also.

@filipesilva are we going to address this issue(or have already addressed) or there have been other reasons because of which you people are not willing to implement this?
Please mentioned if there is already an open issue regarding this.

@filipesilva Care to comment on this? Can you address the reasons for not developing those widely requested features?

@filipesilva Would be great if you guys considered this feature. I need to install angular 4 and I dont want to worry about changing dependency versions

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings