Open
Description
Describe the bug
My Project is currently running with an expo because I need support web for this app.
I installed reactotron in the latest version and ran it on mobile without any issues.
But then, when I tried to run on web. I started receiving the following error when trying to build the app.
Unable to resolve "../Utilities/Platform" from "node_modules/react-native/Libraries/LogBox/LogBox.js"
I thought this was because I needed to add a condition to run this only for mobile. So i did the following
if (__DEV__ && Platform.OS !== 'web') {
// eslint-disable-next-line @typescript-eslint/no-require-imports
require("./ReactotronConfig");
}
But the error is still there.
Currently, the only way to get rid of this issue is by commenting this line:
require("./ReactotronConfig");
which means, removing the reactotron functionality. So, I'm currently commenting this line for web and uncommenting this line when I'm testing on mobile.
Reactotron version
^5.1.12
Metadata
Metadata
Assignees
Labels
No labels