Reputation: 914
I'm using Ionic3 to do an application to print something. I following the documentaion of Ionic for Printer.
After I run
ionic cordova plugin add cordova-plugin-printer
I run the command:
npm install @ionic-native/printer
Then I get:
npm WARN @ionic-native/[email protected] requires a peer of rxjs@^6.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/[email protected] requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
Someone already had this problem before?
thanks!
Upvotes: 0
Views: 46
Reputation: 5742
first install those dependencies
npm install [email protected]
npm i @ionic-native/core
Upvotes: 1