离子本机插件未同步显示错误:您必须自己安装对等依赖项

时间:2019-01-28 02:59:35

标签: ionic-framework ionic3 ionic-native

我有一个ionic 3,必须在其中更新Camera插件。

我输入以下消息:

npm WARN @ionic-native/camera@5.0.0 requires a peer of @ionic-native/core@5.0.0 but none is installed. You must install peer dependencies yourself.

所以我然后手动安装了native/core@5.0.0

这样做之后,我收到了一堆警告:

npm WARN @ionic-native/clipboard@4.9.1 requires a peer of @ionic-native/core@^4.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/device@4.7.0 requires a peer of @ionic-native/core@^4.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/file@4.9.1 requires a peer of @ionic-native/core@^4.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/file-transfer@4.9.1 requires a peer of @ionic-native/core@^4.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/in-app-browser@4.12.0 requires a peer of @ionic-native/core@^4.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/network@4.9.1 requires a peer of @ionic-native/core@^4.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/screen-orientation@4.7.0 requires a peer of @ionic-native/core@^4.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/splash-screen@4.5.3 requires a peer of @ionic-native/core@^4.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/status-bar@4.5.3 requires a peer of @ionic-native/core@^4.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/toast@4.7.0 requires a peer of @ionic-native/core@^4.2.0 but none is installed. You must install peer dependencies yourself.

我不确定我应该在这里做什么...

我应该尝试为每个新警告找到最新版本并替换它们吗??

恐怕我会破坏我的应用程序,但不知道。

谢谢您的建议!

0 个答案:

没有答案