[英]ionic 2 - Installation of native plugin facebook
i am installing facebook plugin. 我正在安装Facebook插件。 when i run command
sudo npm install --save @ionic-native/facebook
i get error: unmet peer dependency ionic-native/core4.4.2 invalid
当我运行命令
sudo npm install --save @ionic-native/facebook
出现错误: unmet peer dependency ionic-native/core4.4.2 invalid
my system info: 我的系统信息:
ios-deploy : 1.9.1
Node : v6.12.0
npm : 3.10.10
OS : OS X El Capitan
Xcode : Xcode 8.1 Build version 8T46g
1.> install ionic-native $ npm install ionic-native/core --save
2.> Which type of peer dependency error is occurred update an npm according to it Don’t use $ npm install Note - : becoze it install
current version & type script & other dependency is not compatible
with current version’s.
3.> so, to update npm use this command npm install npm@4 -g, here 4 = which version u want to install(like 3,4,5 & etc).
4.> Then install peer dependency, which is not present. ex - $ npm install ionic-native/@4.2.0 --save
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.