react-native-bluetooth-status icon indicating copy to clipboard operation
react-native-bluetooth-status copied to clipboard

Not able to Install npm check Bluetooth Status

Open viv578ek opened this issue 4 years ago • 0 comments

I am not able to install npm bluetooth-status.

**$ npm install react-native-bluetooth-status

import { BluetoothStatus } from 'react-native-bluetooth-status';

async getBluetoothState() { const isEnabled = await BluetoothStatus.state(); }**

Getting Error !

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react-native npm ERR! react-native@"0.63.3" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react-native@"^0.61.0" from [email protected] npm ERR! node_modules/react-native-bluetooth-status npm ERR! react-native-bluetooth-status@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /Users/vivek/.npm/eresolve-report.txt for a full report.

Please Help

viv578ek avatar Dec 18 '20 05:12 viv578ek