这个问题已经有了答案:
install a previous version of a package
9答
我用的是离子3,但我需要知道如何将角度依赖性从5.0.0降到4.3.3

"dependencies": {
    "@angular/common": "5.0.0",
    "@angular/compiler": "5.0.0",
    "@angular/compiler-cli": "5.0.0",
    "@angular/core": "5.0.0",
    "@angular/forms": "5.0.0",
    "@angular/http": "5.0.0",
    "@angular/platform-browser": "5.0.0",
    "@angular/platform-browser-dynamic": "5.0.0",
    "@ionic-native/core": "4.3.2",
    "@ionic-native/splash-screen": "4.3.2",
    "@ionic-native/status-bar": "4.3.2",
    "@ionic/pro": "1.0.12",
    "@ionic/storage": "2.1.3",
    "ionic-angular": "3.9.2",
    "ionicons": "3.0.0",
    "rxjs": "5.5.2",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.18"
  },

最佳答案

根据以下内容更改package.json

 "dependencies": {
            "@angular/common": "4.4.3",
            "@angular/compiler": "4.4.3",
            "@angular/compiler-cli": "4.4.3",
            "@angular/core": "4.4.3",
            "@angular/forms": "4.4.3",
            "@angular/http": "4.4.3",
            "@angular/platform-browser": "4.4.3",
            "@angular/platform-browser-dynamic": "4.4.3",
            "@ionic-native/splash-screen": "3.12.1",
            "@ionic-native/status-bar": "3.12.1",
            "@ionic/storage": "2.0.1",
            "ionic-angular": "3.7.0",
            "ionic-plugin-keyboard": "^2.2.1",
            "ionicons": "3.0.0",
            "rxjs": "5.4.3",
            "sw-toolbox": "3.6.0",
            "zone.js": "0.8.17",
            // ...
        },
        "devDependencies": {
            "@ionic/app-scripts": "3.0.0",
            "typescript": "2.3.4"
        },

然后(不要忘记从项目目录中删除node_module文件夹)
npm install
完成:

10-06 02:58