Skip to content

Not able to Install npm check Bluetooth Status #69

@viv578ek

Description

@viv578ek

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: Signal_Wire@0.0.1
npm ERR! Found: react-native@0.63.3
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 react-native-bluetooth-status@1.5.1
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions