https://github.com/hayanisaid/react-native-common-errors
https://github.com/hayanisaid/react-native-common-errors
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hayanisaid/react-native-common-errors
- Owner: hayanisaid
- Created: 2022-09-20T22:36:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-20T22:41:22.000Z (over 2 years ago)
- Last Synced: 2025-01-05T20:41:45.213Z (4 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The most common React Native errors and their solutions:
## 1 - React Native : Error: Duplicate resources - Android
**Solution** [source](https://stackoverflow.com/questions/53239705/react-native-error-duplicate-resources-android)
```
rm -rf ./android/app/src/main/res/drawable-*rm -rf ./android/app/src/main/res/raw
```
## 2 - Error message "error:0308010C:digital envelope routines::unsupported"**Solution** [source](https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported)
- For MacOS
```
export NODE_OPTIONS=--openssl-legacy-provider
```
- For Windows
```
set NODE_OPTIONS=--openssl-legacy-provider
```