Closed imsam67 closed 2 years ago
Trying to install this package to a new RN project using version 0.66.3 and I'm getting this error message:
Here's the full error log:
# npm resolution error report 2021-12-21T22:05:17.406Z While resolving: ingridconnect@0.0.1 Found: react@17.0.2 node_modules/react react@"17.0.2" from the root project Could not resolve dependency: peer react@"^16.8.1" from react-native-azure-blob-storage@1.2.3 node_modules/react-native-azure-blob-storage react-native-azure-blob-storage@"*" 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": "17.0.2", "whileInstalling": { "name": "ingridconnect", "version": "0.0.1", "path": "C:\\Users\\sam\\source\\repos\\iQuest\\Ingrid Mobile\\Ingrid Connect\\ingridconnect" }, "location": "node_modules/react", "isWorkspace": false, "dependents": [ { "type": "prod", "name": "react", "spec": "17.0.2", "from": { "location": "C:\\Users\\sam\\source\\repos\\iQuest\\Ingrid Mobile\\Ingrid Connect\\ingridconnect" } } ] }, "currentEdge": { "type": "prod", "name": "react", "spec": "17.0.2", "from": { "location": "C:\\Users\\sam\\source\\repos\\iQuest\\Ingrid Mobile\\Ingrid Connect\\ingridconnect" } }, "edge": { "type": "peer", "name": "react", "spec": "^16.8.1", "error": "INVALID", "from": { "name": "react-native-azure-blob-storage", "version": "1.2.3", "whileInstalling": { "name": "ingridconnect", "version": "0.0.1", "path": "C:\\Users\\sam\\source\\repos\\iQuest\\Ingrid Mobile\\Ingrid Connect\\ingridconnect" }, "location": "node_modules/react-native-azure-blob-storage", "isWorkspace": false, "dependents": [ { "type": "prod", "name": "react-native-azure-blob-storage", "spec": "*", "from": { "location": "C:\\Users\\sam\\source\\repos\\iQuest\\Ingrid Mobile\\Ingrid Connect\\ingridconnect" } } ] } }, "strictPeerDeps": false, "force": false }
Update dependency for latest version of react native
Trying to install this package to a new RN project using version 0.66.3 and I'm getting this error message:
Here's the full error log: