akveo / react-native-ui-kitten

:boom: React Native UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/react-native-ui-kitten/
MIT License
10.35k stars 957 forks source link

Can't find variable: React #1809

Open ghousesaqlain opened 8 months ago

ghousesaqlain commented 8 months ago

🐛 Bug Report

I updated ui-kitten/components and ui-kitten/eva-icons from 5.1.2 to 5.3.1 and I am getting the following error.

ERROR ReferenceError: Can't find variable: React

This error is located at: This error is located at: in ApplicationProvider (at App.tsx:73) in ThemeComponent (at App.tsx:62) in AppContext (at App.tsx:61) in RCTView (at View.js:108) in View (at App.tsx:55) in Provider (at App.tsx:54) in App (at renderApplication.js:57) in RCTView (at View.js:108) in View (at AppContainer.js:129) in RCTView (at View.js:108) in View (at AppContainer.js:156) in AppContainer (at renderApplication.js:50)

The error looks to be on line 93 in applicationProvider.component.js.

To Reproduce

Steps to reproduce the behavior:

Expected behavior

Link to runnable example or repository (highly encouraged)

UI Kitten and Eva version

Package Version
@eva-design/eva 5.3.1
@ui-kitten/components 5.3.1

Environment information

Binaries: Node: v20.10.0 npm: 10.2.3

npmPackages: react: 18.2.0 react-native: 0.72.4

roman-teamsystems commented 3 months ago

Did you find a solution to that problem?