Skip to content
Advertisement

How to navigate errors showing after I run React Native app on Mac with command ‘react-native run-android’?

I run the app with the command “react-native run-android” and it worked. But after logging in the app with user login info, it shows black error screens and following is the error message.

JavaScript

As seen in the error message, error is located at many places but I assume it’s not like that. What I am wondering about is how I should fine a glue from the error message like what is wrong, where the error comes from, if it is due to react/react-native/gradle version isse?

I attach my package.json file so that you can get better view.

JavaScript

And here is the screenshot showing errors: Error showing screen on android emulator

Advertisement

Answer

I found the answer here Getting ‘TypeError: interpolate is not a function’ in React-Native

I replaced the interpolate() function to interpolateNode() function in drawer.js from node_modules/react-navigation-drawer/lib/module/views/ folder.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement