我有一个离子源Ionic,它由Ionic版本1编码,但现在Ionic版本为3,当我输入“ionic serve”时显示此段落:
[错误]无法确定项目类型(项目配置:。\ ionic.config.json)。
For Ionic Angular projects, make sure ionic-angular is listed as a dependency in package.json.
For Ionic 1 projects, make sure ionic is listed as a dependency in bower.json.
Alternatively, set type attribute in ionic.config.json to one of: ionic-angular, ionic1, custom.
If the Ionic CLI does not know what type of project this is, ionic build, ionic serve, and other commands may
not work. You can use the custom project type if that's okay.