Skip to content

I am getting an error while installing it #6

Description

@PAAPII10

npm resolution error report

2021-11-27T12:00:45.512Z

While resolving: awesomeproject@0.0.1
Found: react-native@0.66.3
node_modules/react-native
react-native@"^0.66.3" from the root project

Could not resolve dependency:
peer react-native@"^0.41.2" from react-native-accurate-step-counter@2.0.3
node_modules/react-native-accurate-step-counter
react-native-accurate-step-counter@"*" from the root project

Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Raw JSON explanation object:

{
"code": "ERESOLVE",
"current": {
"name": "react-native",
"version": "0.66.3",
"whileInstalling": {
"name": "awesomeproject",
"version": "0.0.1",
"path": "C:\Users\rajesh\Desktop\Practice\AwesomeProject"
},
"location": "node_modules/react-native",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react-native",
"spec": "^0.66.3",
"from": {
"location": "C:\Users\rajesh\Desktop\Practice\AwesomeProject"
}
}
]
},
"currentEdge": {
"type": "prod",
"name": "react-native",
"spec": "^0.66.3",
"from": {
"location": "C:\Users\rajesh\Desktop\Practice\AwesomeProject"
}
},
"edge": {
"type": "peer",
"name": "react-native",
"spec": "^0.41.2",
"error": "INVALID",
"from": {
"name": "react-native-accurate-step-counter",
"version": "2.0.3",
"whileInstalling": {
"name": "awesomeproject",
"version": "0.0.1",
"path": "C:\Users\rajesh\Desktop\Practice\AwesomeProject"
},
"location": "node_modules/react-native-accurate-step-counter",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react-native-accurate-step-counter",
"spec": "*",
"from": {
"location": "C:\Users\rajesh\Desktop\Practice\AwesomeProject"
}
}
]
}
},
"strictPeerDeps": false,
"force": false
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions