npm安装-g ionic@latest不是升级到ionic 3.0.1。

时间:2020-12-11 22:56:22

After installation i still don't see 3.0.1

安装之后,我仍然没有看到3.0.1。

Cordova CLI: 6.5.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v6.10.1
Xcode version: Xcode 8.2.1 Build version 8C1002

1 个解决方案

#1


9  

ionic install -g ionic@latest installs the latest ionic-cli package. This is version 2.2.3 currently as is also shown by your output of ionic info.

ionic install -g ionic@latest安装最新的ionic-cli包。这是当前版本2.2.3,也由您的ionic info输出显示。

Just run ionic start myapp [template]

运行ionic start myapp[模板]

You will notice the current ionic-angular version to be 3.x in the project's package.json.

您将注意到当前的ionic-版本为3。在项目的package.json中。

#1


9  

ionic install -g ionic@latest installs the latest ionic-cli package. This is version 2.2.3 currently as is also shown by your output of ionic info.

ionic install -g ionic@latest安装最新的ionic-cli包。这是当前版本2.2.3,也由您的ionic info输出显示。

Just run ionic start myapp [template]

运行ionic start myapp[模板]

You will notice the current ionic-angular version to be 3.x in the project's package.json.

您将注意到当前的ionic-版本为3。在项目的package.json中。