itinance / itinance/react-native-fs
Could not resolve dependency: peer react-native@"^0.59.5" from react-native-fs@2.17.0
Open
discussion
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Because the react-native version specified in [package.json](https://github.com/itinance/react-native-fs/blob/master/package.json), when you try `npm i` with npm version **7.*** you get following error because not using specified react-native version. There is a workaround which is using `npm i --legacy-peer-deps`.
```
Could not resolve dependency:
npm ERR! peer react-native@"^0.59.5" from react-native-fs@2.17.0
```
package.json:
```
"peerDependencies": {
"react-native": "^0.59.5",
"react-native-windows": "^0.57.2"
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.