gpt4 book ai didi

cordova - Ionic 2 Native Linkedin 未满足的对等依赖性

转载 作者:行者123 更新时间:2023-12-03 22:04:16 25 4
gpt4 key购买 nike

我正在尝试按照此处所述为 Linkedin 设置 ionic 2 native 组件:https://ionicframework.com/docs/v2/native/linkedin/

但是当我这样做的时候:

npm install --save @ionic-native/linkedin

我收到:

ionic-hello-world@ /home/gx/ionic2/linkTest
├── UNMET PEER DEPENDENCY @ionic-native/core@3.1.0
└── @ionic-native/linkedin@3.1.1

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @ionic-native/linkedin@3.1.1 requires a peer of @ionic-native/core@3.1.1 but none was installed.

这里是我的环境信息:

Your system information:

Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v4.2.6
Xcode version: Not installed

我该如何解决?谢谢

最佳答案

您必须将您的ionic-native 版本更新为3.1.0
检查 package.json here .添加条目 "@ionic-native/core": "3.1.0", 到您的 package.json 并删除您的旧条目。
现在运行 npm install。如果不起作用,请清除 node_modules 文件夹。

关于cordova - Ionic 2 Native Linkedin 未满足的对等依赖性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42949512/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com