【发布时间】:2019-07-25 14:16:18
【问题描述】:
我正在使用具有许多应用程序的 ionic 3 版本,并且运行良好。现在对于我的新项目,我想在 ionic 4 中进行开发,但不想卸载 ionic 3。因此,当我运行以下命令在本地安装 ionic 4 时会引发错误。
命令:
npm install ionic@rc cordova
错误:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for ionic@rc
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/username/.npm/_logs/2019-03-04T09_28_35_725Z-debug.log
如何解决这个问题?
【问题讨论】:
-
不要全局安装
cli,在项目中本地安装不管用3还是4
标签: angular ionic-framework npm ionic3 ionic4