Dinuka Wanasinghe
Dinuka Wanasinghe

Reputation: 775

How to add bluetooth-serial to ionic app with out peer dependence warnings?

When I install bluetooth-serial to Ionic app its always give peer dependence warning how to resolve those. I add screenshot below.

enter image description here

Upvotes: 1

Views: 217

Answers (1)

MarkD
MarkD

Reputation: 4954

The issue is that you dont have all of the npm packages installed that you need to run ionic-native/bluetooth-serial. To fix those warning (and let bt-serial run properly) make sure you install all of the peer dependencies listed:

npm install rxjs@^5.5.11
npm install @ionic-native/[email protected]
npm install cordova-plugin-ionic@^5/0.0

Upvotes: 2

Related Questions