Ionic 2 Native Linkedin UNMET PEER DEPENDENCY
I am trying to set up a native ionic 2 component for Linkedin as described here: https://ionicframework.com/docs/v2/native/linkedin/
but when i do:
npm install --save @ionic-native/linkedin
I get:
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.
here's my env info:
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
how can i solve? THH
+3
source to share
2 answers
Ion team has released the latest 3.x the Native Ionic . To avoid the above problem, you have to build your application using the latest CLI. In other words, you need to create a new V2 project. This is true. Good luck!
ionic start myfirstapp blank --v2
+2
source to share