itinance / itinance/react-native-fs

Could not resolve dependency: peer react-native@"^0.59.5" from react-native-fs@2.17.0

Open
#997 8 comments 10 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.