Welcome Angular 2 rc.3!
I use project.json
from 5 Min Quickstart to configure my project, but when i run npm install
i get follow error:
No compatible version found: @angular/router-deprecated@2.0.0-rc.3
Valid install targets:
2.0.0-rc.2, 2.0.0-rc.1, 2.0.0-rc.0, 0.0.0-7, 0.0.0-6
Does anyone know what reason of that? Maybe quickstart doc out-of-date?
Angular2 RC3 brings back the new router. But the Tutorial continues to mention router-deprecated. Check out the Developer guide which has documentation on the latest Router: https://angular.io/docs/ts/latest/guide/router.html
As mentioned in the comments, you can give it a try using
I think so its by mistake
try the last version of release
i'm running rc.2, but with the new component router. https://angular.io/docs/ts/latest/guide/router.html. here's the package.json
}
i'm using the alpha6, cause i didn't got alpha7 working. anyhow, if you starting new in a project, i would go for the new component router. the developer even recommend it: http://angularjs.blogspot.ch/2016/06/improvements-coming-for-routing-in.html
You guessed right, the QuickStart tutorial doc was in fact wrong, and the Pull Request handling this has just recently merged its commits. Should you go to the QuickStart docs again, you'll see it's been updated!
Here's the closed Pull Request: https://github.com/angular/angular.io/pull/1727
So no worries, you were doing just fine!