Des Horsley
Des Horsley

Reputation: 1888

Can't install Angular2 2.0 final

I'm trying to upgrade to the latest version of Angular2, but all I can seem to find references to is Beta17

I've run npm view angular2 and the last few lines of that are pretty much:

 '2.0.0-beta.13',
 '2.0.0-beta.14',
 '2.0.0-beta.15',
 '2.0.0-beta.16',
 '2.0.0-beta.17'

I get a similar result from Visual Studios intellisence.

Can anyone point me in the right direction?

Upvotes: 0

Views: 144

Answers (1)

Sanket
Sanket

Reputation: 20017

After beta17, angular moved into scoped packages. So you will have to use @angular instead of angular2 like this-

npm view @angular/core

List of angular2 packages-

"@angular/common": "~2.0.2",
"@angular/compiler": "~2.0.2",
"@angular/core": "~2.0.2",
"@angular/forms": "~2.0.2",
"@angular/http": "~2.0.2",
"@angular/platform-browser": "~2.0.2",
"@angular/platform-browser-dynamic": "~2.0.2",
"@angular/router": "~3.0.2",
"@angular/upgrade": "~2.0.2",

Reference: https://angular.io/guide/quickstart

Upvotes: 1

Related Questions