從RC5升級到RC6需要做什麼?我不是說應用程序代碼更改。我在這個過程中還沒有那麼遠。我的意思是我應該如何安裝RC 6?我找到了image in this reddit post。角度2 - 從rc 5升級到rc 6
我改變了我的package.json,使之像那個圖像。然後我猜我需要運行一個終端命令,將安裝在我的package.json中的東西?有點像npm install
?這裏是我的代碼:
{
"name": "the-vegan-repository",
"version": "1.0.0",
"scripts": {
"lite-server-test": "lite-server --config=liteserver-test-config.json",
"test": "tsc && concurrently \"npm run tsc:w\" \"npm run lite-server-test\" ",
"start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\" \"sass --watch app\" \"sass --watch index.scss\" \"sass --watch global-constants.scss\" ",
"lite": "lite-server",
"postinstall": "typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
"typings": "typings"
},
"license": "ISC",
"dependencies": {
"@angular/common": "2.0.0-rc.6",
"@angular/compiler": "2.0.0-rc.6",
"@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/router-deprecated": "2.0.0-rc.2",
"@angular/upgrade": "2.0.0-rc.6",
"angular2-google-maps": "^0.13.0",
"angular2-in-memory-web-api": "0.0.15",
"angular2-modal": "^1.1.5",
"bootstrap": "^3.3.6",
"core-js": "^2.4.0",
"jquery": "v3.1.0",
"ng2-bs3-modal": "^0.7.0",
"ng2-popover": "0.0.8",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.11",
"systemjs": "0.19.27",
"zone.js": "^0.6.17"
},
"devDependencies": {
"codelyzer": "0.0.26",
"concurrently": "^2.0.0",
"jasmine-core": "2.4.1",
"lite-server": "^2.2.0",
"tslint": "^3.13.0",
"typescript": "^1.8.10",
"typings": "^1.0.4"
}
}
去'2.0.1'它不再在rc .. – choz