angular - Angular2 RC6 Update -


since have updated package.json angular2 rc6 errors ts2305:

  • "../@angular/router/index" has no exported member 'routerconfig'
  • "../@angular/common/index" has no exported member 'control', 'controlgroup','validators', etc.

my dependencies in package.json follows

"dependencies": { "@angular/common": "2.0.0-rc.6", "@angular/compiler": "2.0.0-rc.6", "@angular/compiler-cli": "0.6.0", "@angular/core": "2.0.0-rc.6", "@angular/forms": "2.0.0-rc.6", "@angular/http": "2.0.0-rc.6", "@angular/platform-browser": "2.0.0-rc.6", "@angular/platform-browser-dynamic": "2.0.0-rc.6", "@angular/router": "^3.0.0-rc.2", "@angular/upgrade": "2.0.0-rc.6", "angular2-in-memory-web-api": "0.0.18", "angular2localization": "^0.10.0", "bootstrap": "^3.3.6", "core-js": "^2.4.1", "es6-shim": "^0.35.0", "moment": "^2.13.0", "reflect-metadata": "^0.1.3", "rxjs": "5.0.0-beta.11", "systemjs": "0.19.27", "zone.js": "^0.6.17" 

yes thank answer! after have replaced routerconfig routes, control formcontrol, formmodel formgroup etc. can compile without errors.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -