I've been working on a project in React Native and have successfully installed all the necessary dependencies. However, upon running the code, I encounter the following error message:
TypeError: undefined is not an object (evaluating '_reactNative.Stylesheet.create')
The error is accompanied by the following details:
node_modules/react-native/Libraries/LogBox/LogBox.js:148:8 in registerError
node_modules/react-native/Libraries/LogBox/LogBox.js:59:8 in errorImpl
Initially, there was an issue with one of the functions which I managed to resolve. However, I am now puzzled as to where the undefined object reference is coming from. If anyone can pinpoint the specific file or function causing this error, it would be greatly appreciated.