在离子中添加新提供程序时出错

时间:2017-05-25 09:13:41

标签: ionic-framework ionic2

当我尝试将新提供程序添加到我现有的离子项目时,它会抛出

The generate command is only available for projects t
hat use ionic-angular >= 3.0.0

我尝试了以下命令进行升级但是没有解决

>npm install --save ionic-angular

我的离子版是3.2.0

我的Package.json看起来

"dependencies": {
    "@angular/common": "2.4.8",
    "@angular/compiler": "2.4.8",
    "@angular/compiler-cli": "2.4.8",
    "@angular/core": "2.4.8",
    "@angular/forms": "2.4.8",
    "@angular/http": "2.4.8",
    "@angular/platform-browser": "2.4.8",
    "@angular/platform-browser-dynamic": "2.4.8",
    "@angular/platform-server": "2.4.8",
    "@angular/tsc-wrapped": "~0.5.2",
    "@ionic/storage": "2.0.0",
    "ionic-angular": "^2.3.0",
    "ionic-native": "2.4.1",
    "ionicons": "3.0.0",
    "lodash-es": "^4.17.4",
    "node-uuid": "^1.4.7",
    "rxjs": "5.0.1",
    "sw-toolbox": "3.4.0",
    "uuid": "^2.0.2",
    "zone.js": "0.7.2"
  }

0 个答案:

没有答案