Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing on iOS, working in Expo GO. #26

Open
halid96 opened this issue Apr 2, 2023 · 2 comments
Open

Crashing on iOS, working in Expo GO. #26

halid96 opened this issue Apr 2, 2023 · 2 comments

Comments

@halid96
Copy link

halid96 commented Apr 2, 2023

I found that there is an error in tsconfig.json

Cannot find type definition file for 'react'.
The file is in the program because:
Entry point of type library 'react' specified in compilerOptions

This error started to occur after I migrated to Expo SDK 48

Expo doctor didn't found any issues.

I re-installed the package, and i saw these warnings in terminal:

[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @expo/[email protected]" has unmet peer dependency "expo-modules-autolinking@>=0.8.1".
warning " > @svanboxel/[email protected]" has incorrect peer dependency "react@^16.9.0".
warning " > @svanboxel/[email protected]" has incorrect peer dependency "react-native@^0.62.0".
warning "react-native > react-native-codegen > [email protected]" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning "@haskkor/react-native-recaptchav3 > [email protected]" has incorrect peer dependency "react-native@>=0.60 <0.62".
warning "@haskkor/react-native-recaptchav3 > [email protected]" has unmet peer dependency "react-native-windows@^0.61.0-beta.58".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 2 new dependencies.
info Direct dependencies
└─ @haskkor/[email protected]
info All dependencies
├─ @haskkor/[email protected]
└─ [email protected]

bug

@halid96 halid96 changed the title Crashing on iOS TestFlight or read App, working in Expo GO. Crashing on iOS, working in Expo GO. Apr 2, 2023
@halid96
Copy link
Author

halid96 commented Apr 2, 2023

Update:

yarn add --dev @types/react @types/react-native fixed the error, however the problem still remains. The iOS app still crashes.

@amitkumar144
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants