-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
npm resolution error report
2023-09-05T06:34:09.724Z
While resolving: undefined@undefined
Found: [email protected]
node_modules/react
peer react@"16.x" from [email protected]
node_modules/react-native-webrtc-web-shim
react-native-webrtc-web-shim@"*" from the root project
Could not resolve dependency:
peer react@"18.2.0" from [email protected]
node_modules/react-native
peer react-native@"0.x" from [email protected]
node_modules/react-native-webrtc-web-shim
react-native-webrtc-web-shim@"*" 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",
"version": "16.14.0",
"whileInstalling": {
"path": "C:\\Users\\Jigar\\Desktop\\College Project"
},
"location": "node_modules/react",
"isWorkspace": false,
"dependents": [
{
"type": "peer",
"name": "react",
"spec": "16.x",
"from": {
"name": "react-native-webrtc-web-shim",
"version": "1.0.3",
"whileInstalling": {
"path": "C:\\Users\\Jigar\\Desktop\\College Project"
},
"location": "node_modules/react-native-webrtc-web-shim",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react-native-webrtc-web-shim",
"spec": "*",
"from": {
"location": "C:\\Users\\Jigar\\Desktop\\College Project"
}
}
]
}
}
]
},
"currentEdge": null,
"edge": {
"type": "peer",
"name": "react",
"spec": "18.2.0",
"error": "INVALID",
"from": {
"name": "react-native",
"version": "0.72.4",
"whileInstalling": {
"path": "C:\\Users\\Jigar\\Desktop\\College Project"
},
"location": "node_modules/react-native",
"isWorkspace": false,
"dependents": [
{
"type": "peer",
"name": "react-native",
"spec": "0.x",
"from": {
"name": "react-native-webrtc-web-shim",
"version": "1.0.3",
"whileInstalling": {
"path": "C:\\Users\\Jigar\\Desktop\\College Project"
},
"location": "node_modules/react-native-webrtc-web-shim",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react-native-webrtc-web-shim",
"spec": "*",
"from": {
"location": "C:\\Users\\Jigar\\Desktop\\College Project"
}
}
]
}
}
]
}
},
"strictPeerDeps": false,
"force": false
}
Instructions To reproduce
This Issue with [email protected]
Versions (please complete the following information):
- React Native Version:0.72.4
- React Native Web Version:~0.19.6
- React Native WebRTC Version:^111.0.3
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working